Class FlipControl
StageScroller
Inheritance
FlipControl
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[TemplatePart(Name = "PART_CurrentItem", Type = typeof(ContentControl))]
[TemplatePart(Name = "PART_PreviousItem", Type = typeof(ContentControl))]
[TemplatePart(Name = "PART_NextItem", Type = typeof(ContentControl))]
[TemplatePart(Name = "PART_Root", Type = typeof(FrameworkElement))]
public class FlipControl : Selector, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Fields
View SourceAnimationTimeProperty
DependencyProperty of AnimationTime
Declaration
public static readonly DependencyProperty AnimationTimeProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
NavigateFromCommandProperty
The DependencyProperty of NavigateFromCommand
Declaration
public static readonly DependencyProperty NavigateFromCommandProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
NavigateToCommandProperty
The DependencyProperty of NavigateToCommand
Declaration
public static readonly DependencyProperty NavigateToCommandProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
NextVisibilityProperty
The DependencyProperty of NextVisibility
Declaration
public static readonly DependencyProperty NextVisibilityProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
PreviousVisibilityProperty
The DependencyProperty of PreviousVisibility
Declaration
public static readonly DependencyProperty PreviousVisibilityProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
SideBrushProperty
The DependencyProperty of SideBrush
Declaration
public static readonly DependencyProperty SideBrushProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
SideContentWidthProperty
The DependencyProperty of SideContentWidth
Declaration
public static readonly DependencyProperty SideContentWidthProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceAnimationTime
Gets or sets the time of the slide animation
Declaration
public int AnimationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
NavigateFromCommand
Gets or sets the NavigateFromCommand
Declaration
public ICommand NavigateFromCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
NavigateToCommand
Gets or sets the NavigateToCommand
Declaration
public ICommand NavigateToCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
NextVisibility
Gets or sets the visibility of PART_NextItem
Declaration
public Visibility NextVisibility { get; set; }
Property Value
| Type | Description |
|---|---|
| Visibility |
PreviousVisibility
Gets or sets the visibility of PART_PreviousItem
Declaration
public Visibility PreviousVisibility { get; set; }
Property Value
| Type | Description |
|---|---|
| Visibility |
SideBrush
Gets or sets the Brush of the Side Area
Declaration
public Brush SideBrush { get; set; }
Property Value
| Type | Description |
|---|---|
| Brush |
SideContentWidth
Gets or sets the SideContentWidth
Declaration
public double SideContentWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
View SourceOnApplyTemplate()
Is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
public override void OnApplyTemplate()
Overrides
View SourceScrollToId(string)
Scrolls to the StageScrollerItem with specified Id
Declaration
public void ScrollToId(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The Id to scroll to |