Class GuideBox
public class GuideBox : FrameworkElement, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
- Inheritance
-
GuideBox
- Implements
- Inherited Members
- Extension Methods
Constructors
GuideBox(UIElement, Predicate<UIElement>)
public GuideBox(UIElement element, Predicate<UIElement> predicate = null)
Parameters
Fields
BackgroundProperty
public static readonly DependencyProperty BackgroundProperty
Field Value
ClosedRoutedEvent
public static readonly RoutedEvent ClosedRoutedEvent
Field Value
ControlTemplateProperty
public static readonly DependencyProperty ControlTemplateProperty
Field Value
CurrentIndexProperty
public static readonly DependencyProperty CurrentIndexProperty
Field Value
NextCommand
public static RoutedCommand NextCommand
Field Value
PathStyleProperty
public static readonly DependencyProperty PathStyleProperty
Field Value
SkipCommand
public static RoutedCommand SkipCommand
Field Value
TotalProperty
public static readonly DependencyProperty TotalProperty
Field Value
Properties
Background
public Brush Background { get; set; }
Property Value
ControlTemplate
public ControlTemplate ControlTemplate { get; set; }
Property Value
CurrentIndex
public int CurrentIndex { get; }
Property Value
PathStyle
public Style PathStyle { get; set; }
Property Value
Total
public int Total { get; set; }
Property Value
VisualChildrenCount
Gets the number of visual child elements within this element.
protected override int VisualChildrenCount { get; }
Property Value
- int
The number of visual child elements for this element.
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
SizeThe final area within the parent that this element should use to arrange itself and its children.
Returns
- Size
The actual size used.
GetVisualChild(int)
Overrides GetVisualChild(int), and returns a child at the specified index from a collection of child elements.
protected override Visual GetVisualChild(int index)
Parameters
index
intThe zero-based index of the requested child element in the collection.
Returns
- Visual
The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
SizeThe available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
Returns
- Size
The size that this element determines it needs during layout, based on its calculations of child element sizes.
OnClosed()
protected void OnClosed()
Events
Closed
public event RoutedEventHandler Closed