Class VS2005SwitchPreviewControl
This control presents a like vista flip action.
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class VS2005SwitchPreviewControl : SwicthPreviewControlBase
Constructors
VS2005SwitchPreviewControl()
Declaration
public VS2005SwitchPreviewControl()
Fields
ParentContainerProperty
Presents TemplateParent that is DocContainer in our case.
Declaration
public static readonly DependencyProperty ParentContainerProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Items
Gets the items.
Declaration
public override IEnumerable Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The items. |
Overrides
ParentContainer
Gets or sets the value of the ParentContainer dependency property.
Declaration
public IVS2005FlipOwner ParentContainer { get; set; }
Property Value
Type |
---|
IVS2005FlipOwner |
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].
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 Collections. |
Overrides
ClearItems()
Clears the items.
Declaration
public override void ClearItems()
Overrides
GetParentContainer(Popup)
Gets the parent container.
Declaration
protected virtual IVS2005FlipOwner GetParentContainer(Popup parentPopup)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Primitives.Popup | parentPopup | The parent popup. |
Returns
Type | Description |
---|---|
IVS2005FlipOwner | IVS2005 FlipOwner |
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()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.Windows.RoutedEventArgs that contains the event data. |
OnParentContainerChanged(DependencyPropertyChangedEventArgs)
Raises ParentContainerChanged event.
Declaration
protected virtual void OnParentContainerChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
ShowSelectedItem()
Shows the selected item.
Declaration
public override void ShowSelectedItem()
Overrides
Events
ParentContainerChanged
Event that is raised when ParentContainer property is changed.
Declaration
public event PropertyChangedCallback ParentContainerChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |