HypernovaDesktop Components · docs
Binarymission
WPFSpinner › DomainSpinner

DomainSpinner

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.InputControls

A custom control to support spinning up/down across a set of objects.

public class DomainSpinner : Control

Inherits from / implements: Control

Members at a glance

DomainSpinnerInitializes a new instance of the DomainSpinner class.
ContentHostControlStyleGets or sets the content host control style.
IsReadOnlyGets or sets a value indicating whether this instance is read only.
ItemsGets or sets the items.
NavigationControlStyleGets or sets the navigation control style.
NavigationVisualFillBrushGets or sets the navigation visual fill brush.
NavigationVisualOnMouseOverBorderBrushGets or sets the navigation visual on mouse-over border brush.
NavigationVisualOnMouseOverBrushGets or sets the navigation visual on mouse-over brush.
NavigationVisualStrokeGets or sets the navigation visual stroke.
SelectedIndexGets or sets the index of the selected.
ValueGets or sets the value.
OnApplyTemplateWhen overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
ValueChangedOccurs when the value changes
ContentHostControlStylePropertyThe content host control style property
IsReadOnlyPropertyThe instance is read-only.
ItemsPropertyThe items property
NavigationControlStylePropertyThe navigation control style property
NavigationVisualFillBrushPropertyThe navigation visual fill brush property
NavigationVisualOnMouseOverBorderBrushPropertyThe navigation visual on mouse-over border brush property
NavigationVisualOnMouseOverBrushPropertyThe navigation visual on mouse-over brush property
NavigationVisualStrokePropertyThe navigation visual stroke property
ValueChangedEventThe value changed event
ValuePropertyThe value property

Constructors

DomainSpinner

public DomainSpinner()

Initializes a new instance of the DomainSpinner class.

Properties

ContentHostControlStyle

public Style ContentHostControlStyle

Gets or sets the content host control style.

Value. The content host control style.

IsReadOnly

public bool IsReadOnly

Gets or sets a value indicating whether this instance is read only.

Value. true if this instance is read only; otherwise, false .

Items

public IEnumerable<object> Items

Gets or sets the items.

Value. The items.

NavigationControlStyle

public Style NavigationControlStyle

Gets or sets the navigation control style.

Value. The navigation control style.

NavigationVisualFillBrush

public Brush NavigationVisualFillBrush

Gets or sets the navigation visual fill brush.

Value. The navigation visual fill brush.

NavigationVisualOnMouseOverBorderBrush

public Brush NavigationVisualOnMouseOverBorderBrush

Gets or sets the navigation visual on mouse-over border brush.

Value. The navigation visual on mouse over border brush.

NavigationVisualOnMouseOverBrush

public Brush NavigationVisualOnMouseOverBrush

Gets or sets the navigation visual on mouse-over brush.

Value. The navigation visual on mouse-over brush.

NavigationVisualStroke

public Brush NavigationVisualStroke

Gets or sets the navigation visual stroke.

Value. The navigation visual stroke.

SelectedIndex

public int SelectedIndex

Gets or sets the index of the selected.

Value. The index of the selected.

Value

public object Value

Gets or sets the value.

Value. The value.

Methods

OnApplyTemplate

public override void OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

Events

ValueChanged

public event RoutedEventHandler ValueChanged

Occurs when the value changes

Fields

ContentHostControlStyleProperty

public static readonly DependencyProperty ContentHostControlStyleProperty

The content host control style property

IsReadOnlyProperty

public static readonly DependencyProperty IsReadOnlyProperty = DependencyProperty.Register( "IsReadOnly", typeof(bool), typeof(DomainSpinner), new PropertyMetadata(default(bool), (o, args)

The instance is read-only.

ItemsProperty

public static readonly DependencyProperty ItemsProperty = DependencyProperty.Register("Items", typeof(IEnumerable<object>), typeof(DomainSpinner), new UIPropertyMetadata(null, (o, e)

The items property

NavigationControlStyleProperty

public static readonly DependencyProperty NavigationControlStyleProperty

The navigation control style property

NavigationVisualFillBrushProperty

public static readonly DependencyProperty NavigationVisualFillBrushProperty

The navigation visual fill brush property

NavigationVisualOnMouseOverBorderBrushProperty

public static readonly DependencyProperty NavigationVisualOnMouseOverBorderBrushProperty

The navigation visual on mouse-over border brush property

NavigationVisualOnMouseOverBrushProperty

public static readonly DependencyProperty NavigationVisualOnMouseOverBrushProperty

The navigation visual on mouse-over brush property

NavigationVisualStrokeProperty

public static readonly DependencyProperty NavigationVisualStrokeProperty

The navigation visual stroke property

ValueChangedEvent

public static readonly RoutedEvent ValueChangedEvent

The value changed event

ValueProperty

public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(object), typeof(DomainSpinner), new UIPropertyMetadata(null, (o, e)

The value property