Class ListSwicthPreviewControl
This control presents actions for list switching.
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class ListSwicthPreviewControl : SwicthPreviewControlBase
Constructors
ListSwicthPreviewControl()
Declaration
public ListSwicthPreviewControl()
Properties
Items
Gets the items.
Declaration
public override IEnumerable Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The items. |
Overrides
SelectedItem
Gets the selected item.
Declaration
public override object SelectedItem { get; }
Property Value
Type | Description |
---|---|
System.Object | The selected item. |
Overrides
UsedMainCollection
Gets a value indicating whether [used main collection].
true
for this control.
Declaration
public override bool UsedMainCollection { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Overrides
Methods
AddItem(UIElement)
Adds the item.
Declaration
public override void AddItem(UIElement item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | item | The item ContentControl. |
Overrides
ClearItems()
Clears the items.
Declaration
public override void ClearItems()
Overrides
MoveItem(Boolean, SwitchDirection)
Moves the item.
Declaration
public override void MoveItem(bool isForward, SwitchDirection switchDirection)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isForward | if set to |
SwitchDirection | switchDirection | The switch direction. |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
ShowSelectedItem()
Shows and selects the first item.
Declaration
public override void ShowSelectedItem()