Table of Contents

Class GuideBox

Namespace
H.Modules.Guide
Assembly
H.Modules.Guide.dll
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

element UIElement
predicate Predicate<UIElement>

Fields

BackgroundProperty

public static readonly DependencyProperty BackgroundProperty

Field Value

DependencyProperty

ClosedRoutedEvent

public static readonly RoutedEvent ClosedRoutedEvent

Field Value

RoutedEvent

ControlTemplateProperty

public static readonly DependencyProperty ControlTemplateProperty

Field Value

DependencyProperty

CurrentIndexProperty

public static readonly DependencyProperty CurrentIndexProperty

Field Value

DependencyProperty

NextCommand

public static RoutedCommand NextCommand

Field Value

RoutedCommand

PathStyleProperty

public static readonly DependencyProperty PathStyleProperty

Field Value

DependencyProperty

SkipCommand

public static RoutedCommand SkipCommand

Field Value

RoutedCommand

TotalProperty

public static readonly DependencyProperty TotalProperty

Field Value

DependencyProperty

Properties

Background

public Brush Background { get; set; }

Property Value

Brush

ControlTemplate

public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

CurrentIndex

public int CurrentIndex { get; }

Property Value

int

PathStyle

public Style PathStyle { get; set; }

Property Value

Style

Total

public int Total { get; set; }

Property Value

int

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 Size

The 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 int

The 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 Size

The 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

Event Type

RoutedEventHandler