WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class VS2005SwitchPreviewControl

    Show / Hide Table of Contents

    Class VS2005SwitchPreviewControl

    This control presents a like vista flip action.

    Inheritance
    System.Object
    SwicthPreviewControlBase
    VS2005SwitchPreviewControl
    Inherited Members
    SwicthPreviewControlBase.ItemBorderBrushProperty
    SwicthPreviewControlBase.CornerRadiusProperty
    SwicthPreviewControlBase.ItemBorderThicknessProperty
    SwicthPreviewControlBase.SelectedItemBorderBrushProperty
    SwicthPreviewControlBase.SelectedItemBorderThicknessProperty
    SwicthPreviewControlBase.SelectedItemBackgroundProperty
    SwicthPreviewControlBase.ItemCornerRadiusProperty
    SwicthPreviewControlBase.ItemWidthProperty
    SwicthPreviewControlBase.ItemHeightProperty
    SwicthPreviewControlBase.OnCornerRadiusChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnItemBorderBrushChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnItemBorderThicknessChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnSelectedItemBorderBrushChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnSelectedItemBorderThicknessChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnSelectedItemBackgroundChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnItemCornerRadiusChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnItemWidthChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnItemHeightChanged(DependencyPropertyChangedEventArgs)
    SwicthPreviewControlBase.OnVisibilityPropertyChanged(Visibility)
    SwicthPreviewControlBase.ItemBorderBrush
    SwicthPreviewControlBase.CornerRadius
    SwicthPreviewControlBase.ItemBorderThickness
    SwicthPreviewControlBase.SelectedItemBorderBrush
    SwicthPreviewControlBase.SelectedItemBorderThickness
    SwicthPreviewControlBase.SelectedItemBackground
    SwicthPreviewControlBase.ItemCornerRadius
    SwicthPreviewControlBase.ItemWidth
    SwicthPreviewControlBase.ItemHeight
    SwicthPreviewControlBase.ItemBorderBrushChanged
    SwicthPreviewControlBase.CornerRadiusChanged
    SwicthPreviewControlBase.ItemBorderThicknessChanged
    SwicthPreviewControlBase.SelectedItemBorderBrushChanged
    SwicthPreviewControlBase.SelectedItemBorderThicknessChanged
    SwicthPreviewControlBase.SelectedItemBackgroundChanged
    SwicthPreviewControlBase.ItemCornerRadiusChanged
    SwicthPreviewControlBase.ItemWidthChanged
    SwicthPreviewControlBase.ItemHeightChanged
    SwicthPreviewControlBase.Collapsed
    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 Description
    System.Windows.DependencyProperty

    Properties

    Items

    Gets the items.

    Declaration
    public override IEnumerable Items { get; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    The items.

    Overrides
    SwicthPreviewControlBase.Items

    ParentContainer

    Gets or sets the value of the ParentContainer dependency property.

    Declaration
    public IVS2005FlipOwner ParentContainer { get; set; }
    Property Value
    Type Description
    IVS2005FlipOwner

    SelectedItem

    Gets the selected item.

    Declaration
    public override object SelectedItem { get; }
    Property Value
    Type Description
    System.Object

    The selected item.

    Overrides
    SwicthPreviewControlBase.SelectedItem

    UsedMainCollection

    Gets a value indicating whether [used main collection].

    Declaration
    public override bool UsedMainCollection { get; }
    Property Value
    Type Description
    System.Boolean

    true if [used main collection]; otherwise, false.

    Overrides
    SwicthPreviewControlBase.UsedMainCollection

    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
    SwicthPreviewControlBase.AddItem(UIElement)

    ClearItems()

    Clears the items.

    Declaration
    public override void ClearItems()
    Overrides
    SwicthPreviewControlBase.ClearItems()

    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 true [is forward].

    SwitchDirection switchDirection

    The switch direction.

    Overrides
    SwicthPreviewControlBase.MoveItem(Boolean, SwitchDirection)

    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
    SwicthPreviewControlBase.ShowSelectedItem()

    Events

    ParentContainerChanged

    Event that is raised when ParentContainer property is changed.

    Declaration
    public event PropertyChangedCallback ParentContainerChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved