Table of Contents

Class SlidingPanel

Namespace
Loehnert.Controls
Assembly
Loehnert.Controls.dll

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

DependencyProperty

AutoCloseIntervalProperty

Identifies the AutoCloseInterval dependency property.

public static readonly DependencyProperty AutoCloseIntervalProperty

Field Value

DependencyProperty

HeaderTextProperty

Identifies the HeaderText dependency property.

public static readonly DependencyProperty HeaderTextProperty

Field Value

DependencyProperty

InvertAnimationDirectionProperty

Identifies the InvertAnimationDirection dependency property.

public static readonly DependencyProperty InvertAnimationDirectionProperty

Field Value

DependencyProperty

IsAutoCloseEnabledProperty

Identifies the IsAutoCloseEnabled dependency property.

public static readonly DependencyProperty IsAutoCloseEnabledProperty

Field Value

DependencyProperty

IsOpenChangedEvent

An event that is raised when IsOpen changes.

public static readonly RoutedEvent IsOpenChangedEvent

Field Value

RoutedEvent

IsOpenProperty

Identifies the IsOpen dependency property.

public static readonly DependencyProperty IsOpenProperty

Field Value

DependencyProperty

IsPinnedProperty

Identifies the IsPinned dependency property.

public static readonly DependencyProperty IsPinnedProperty

Field Value

DependencyProperty

PositionProperty

Identifies the Position dependency property.

public static readonly DependencyProperty PositionProperty

Field Value

DependencyProperty

ShowCloseButtonProperty

Identifies the ShowCloseButton dependency property.

public static readonly DependencyProperty ShowCloseButtonProperty

Field Value

DependencyProperty

ShowHeaderTextProperty

Identifies the ShowHeaderText dependency property.

public static readonly DependencyProperty ShowHeaderTextProperty

Field Value

DependencyProperty

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

bool

AutoCloseInterval

Gets or sets the time in milliseconds when the SlidingPanel should auto close.

public long AutoCloseInterval { get; set; }

Property Value

long

HeaderText

Gets or sets the text of the header.

public string HeaderText { get; set; }

Property Value

string

InvertAnimationDirection

Gets or sets a value indicating whether the direction of animation is inverted.

public bool InvertAnimationDirection { get; set; }

Property Value

bool

IsAutoCloseEnabled

Gets or sets a value indicating whether the SlidingPanel should auto close after AutoCloseInterval has passed.

public bool IsAutoCloseEnabled { get; set; }

Property Value

bool

IsOpen

Gets or sets a value indicating whether this panel is visible.

public bool IsOpen { get; set; }

Property Value

bool

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

bool

Position

Gets or sets the position of the SlidingPanel.

public Position Position { get; set; }

Property Value

Position

ShowCloseButton

Gets or sets a value indicating whether the close button is visible.

public bool ShowCloseButton { get; set; }

Property Value

bool

ShowHeaderText

Gets or sets a value indicating whether the header is visible.

public bool ShowHeaderText { get; set; }

Property Value

bool

Events

IsOpenChanged

An event that is raised when IsOpen changes.

public event RoutedEventHandler IsOpenChanged

Event Type

RoutedEventHandler