Class SlidingPanel
Represents a sliding panel content control.
public class SlidingPanel : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
- Inheritance
-
SlidingPanel
- Implements
- Inherited Members
Constructors
SlidingPanel()
Initializes a new instance of the SlidingPanel class.
public SlidingPanel()
Fields
AnimateOpacityProperty
Identifies the AnimateOpacity dependency property.
public static readonly DependencyProperty AnimateOpacityProperty
Field Value
AutoCloseIntervalProperty
Identifies the AutoCloseInterval dependency property.
public static readonly DependencyProperty AutoCloseIntervalProperty
Field Value
HeaderTextProperty
Identifies the HeaderText dependency property.
public static readonly DependencyProperty HeaderTextProperty
Field Value
InvertAnimationDirectionProperty
Identifies the InvertAnimationDirection dependency property.
public static readonly DependencyProperty InvertAnimationDirectionProperty
Field Value
IsAutoCloseEnabledProperty
Identifies the IsAutoCloseEnabled dependency property.
public static readonly DependencyProperty IsAutoCloseEnabledProperty
Field Value
IsOpenChangedEvent
An event that is raised when IsOpen changes.
public static readonly RoutedEvent IsOpenChangedEvent
Field Value
IsOpenProperty
Identifies the IsOpen dependency property.
public static readonly DependencyProperty IsOpenProperty
Field Value
IsPinnedProperty
Identifies the IsPinned dependency property.
public static readonly DependencyProperty IsPinnedProperty
Field Value
PositionProperty
Identifies the Position dependency property.
public static readonly DependencyProperty PositionProperty
Field Value
ShowCloseButtonProperty
Identifies the ShowCloseButton dependency property.
public static readonly DependencyProperty ShowCloseButtonProperty
Field Value
ShowHeaderTextProperty
Identifies the ShowHeaderText dependency property.
public static readonly DependencyProperty ShowHeaderTextProperty
Field Value
Properties
AnimateOpacity
Gets or sets a value indicating whether this SlidingPanel animates the opacity while opening or closing.
public bool AnimateOpacity { get; set; }
Property Value
AutoCloseInterval
Gets or sets the time in milliseconds when the SlidingPanel should auto close.
public long AutoCloseInterval { get; set; }
Property Value
HeaderText
Gets or sets the text of the header.
public string HeaderText { get; set; }
Property Value
InvertAnimationDirection
Gets or sets a value indicating whether the direction of animation is inverted.
public bool InvertAnimationDirection { get; set; }
Property Value
IsAutoCloseEnabled
Gets or sets a value indicating whether the SlidingPanel should auto close after AutoCloseInterval has passed.
public bool IsAutoCloseEnabled { get; set; }
Property Value
IsOpen
Gets or sets a value indicating whether this panel is visible.
public bool IsOpen { get; set; }
Property Value
IsPinned
Gets or sets a value indicating whether this SlidingPanel stays open when the user clicks outside of it.
public bool IsPinned { get; set; }
Property Value
Position
Gets or sets the position of the SlidingPanel.
public Position Position { get; set; }
Property Value
ShowCloseButton
Gets or sets a value indicating whether the close button is visible.
public bool ShowCloseButton { get; set; }
Property Value
ShowHeaderText
Gets or sets a value indicating whether the header is visible.
public bool ShowHeaderText { get; set; }
Property Value
Events
IsOpenChanged
An event that is raised when IsOpen changes.
public event RoutedEventHandler IsOpenChanged