|
|
|
@ -58,16 +58,16 @@ public class MultiFormatDataView : Control |
|
|
|
new PropertyMetadata((uint)0, OnRealizedItemsCountChanged)); |
|
|
|
new PropertyMetadata((uint)0, OnRealizedItemsCountChanged)); |
|
|
|
|
|
|
|
|
|
|
|
public static readonly DependencyProperty ItemLoadedProperty = |
|
|
|
public static readonly DependencyProperty ItemLoadedProperty = |
|
|
|
DependencyProperty.RegisterAttached("ItemLoaded", |
|
|
|
DependencyProperty.RegisterAttached("ItemLoaded", |
|
|
|
typeof(bool), |
|
|
|
typeof(bool), |
|
|
|
typeof(MultiFormatDataView), |
|
|
|
typeof(MultiFormatDataView), |
|
|
|
new UIPropertyMetadata(false, OnItemLoaded)); |
|
|
|
new UIPropertyMetadata(false, OnItemLoaded)); |
|
|
|
|
|
|
|
|
|
|
|
public static readonly DependencyProperty ItemUnloadedProperty = |
|
|
|
public static readonly DependencyProperty ItemUnloadedProperty = |
|
|
|
DependencyProperty.RegisterAttached("ItemUnloaded", |
|
|
|
DependencyProperty.RegisterAttached("ItemUnloaded", |
|
|
|
typeof(bool), |
|
|
|
typeof(bool), |
|
|
|
typeof(MultiFormatDataView), |
|
|
|
typeof(MultiFormatDataView), |
|
|
|
new UIPropertyMetadata(false, OnItemUnloaded)); |
|
|
|
new UIPropertyMetadata(false, OnItemUnloaded)); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// .NET Property for DataSource. |
|
|
|
/// .NET Property for DataSource. |
|
|
|
@ -89,6 +89,23 @@ public class MultiFormatDataView : Control |
|
|
|
set { SetValue(RealizedItemsCountProperty, value); } |
|
|
|
set { SetValue(RealizedItemsCountProperty, value); } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// .NET Property for ItemLoaded. |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
public bool ItemLoaded |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return (bool)GetValue(ItemLoadedProperty); } |
|
|
|
|
|
|
|
set { SetValue(ItemLoadedProperty, value); } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// .NET Property for ItemUnloaded. |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
public bool ItemUnloaded |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return (bool)GetValue(ItemUnloadedProperty); } |
|
|
|
|
|
|
|
set { SetValue(ItemUnloadedProperty, value); } |
|
|
|
|
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
static MultiFormatDataView() |
|
|
|
static MultiFormatDataView() |
|
|
|
|