Class PinnableListBox
Inheritance
System.Object
PinnableListBox
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/TransparentStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/MetroStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2007SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(PinnableListBox), XamlResource = "/Syncfusion.Shared.Wpf;component/Controls/PinnableListBox/Themes/Generic.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(PinnableListBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/PinnableListBox/Themes/VS2010Style.xaml")]
public class PinnableListBox : ItemsControl
Constructors
PinnableListBox()
Declaration
Fields
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
System.Windows.DependencyProperty |
PinItemsSortDescriptionProperty
Declaration
public static readonly DependencyProperty PinItemsSortDescriptionProperty
Field Value
Type |
System.Windows.DependencyProperty |
PinnedItemsProperty
Declaration
public static readonly DependencyProperty PinnedItemsProperty
Field Value
Type |
System.Windows.DependencyProperty |
PinnedSortDirectionProperty
Declaration
public static readonly DependencyProperty PinnedSortDirectionProperty
Field Value
Type |
System.Windows.DependencyProperty |
SelectedItemProperty
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
System.Windows.DependencyProperty |
UnPinItemsSortDescriptionProperty
Declaration
public static readonly DependencyProperty UnPinItemsSortDescriptionProperty
Field Value
Type |
System.Windows.DependencyProperty |
UnpinnedItemsProperty
Declaration
public static readonly DependencyProperty UnpinnedItemsProperty
Field Value
Type |
System.Windows.DependencyProperty |
UnPinnedSortDirectionProperty
Declaration
public static readonly DependencyProperty UnPinnedSortDirectionProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public string Header { get; set; }
Property Value
PinItemsSortDescription
Declaration
public string PinItemsSortDescription { get; set; }
Property Value
PinnedItems
Declaration
public ObservableCollection<object> PinnedItems { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
PinnedSortDirection
Declaration
public ListSortDirection PinnedSortDirection { get; set; }
Property Value
Type |
System.ComponentModel.ListSortDirection |
SelectedItem
Declaration
public object SelectedItem { get; set; }
Property Value
UnPinItemsSortDescription
Declaration
public string UnPinItemsSortDescription { get; set; }
Property Value
UnpinnedItems
Declaration
public ObservableCollection<object> UnpinnedItems { get; set; }
Property Value
Type |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
UnPinnedSortDirection
Declaration
public ListSortDirection UnPinnedSortDirection { get; set; }
Property Value
Type |
System.ComponentModel.ListSortDirection |
Methods
LoadState(String)
Declaration
public void LoadState(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
OnItemsChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Collections.Specialized.NotifyCollectionChangedEventArgs |
e |
|
OnItemsSourceChanged(IEnumerable, IEnumerable)
Declaration
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type |
Name |
Description |
System.Collections.IEnumerable |
oldValue |
|
System.Collections.IEnumerable |
newValue |
|
SaveState(String)
Declaration
public void SaveState(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
SortCollection()
Declaration
public void SortCollection()
Events
PinStatusChangedEvent
Declaration
public event RoutedEventHandler PinStatusChangedEvent
Event Type
Type |
System.Windows.RoutedEventHandler |