Represents an individual spinner form control.
Object Model
Syntax
'Declaration
<System.Windows.TemplatePartAttribute(Name="IncreaseButton", Type=System.Windows.Controls.Primitives.RepeatButton)>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.ComponentModel.DefaultEventAttribute("ValueChanged")>
<System.ComponentModel.DefaultPropertyAttribute("Value")>
<System.Windows.StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<System.Windows.Markup.XmlLangPropertyAttribute("Language")>
<System.Windows.Markup.UsableDuringInitializationAttribute(True)>
<System.Windows.Markup.RuntimeNamePropertyAttribute("Name")>
<System.Windows.Markup.UidPropertyAttribute("Uid")>
<System.ComponentModel.TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<System.Windows.Markup.NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class Spinner
Inherits System.Windows.Controls.Primitives.RangeBase
'Usage
Dim instance As Spinner
[System.Windows.TemplatePart(Name="IncreaseButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.ComponentModel.DefaultEvent("ValueChanged")]
[System.ComponentModel.DefaultProperty("Value")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.Markup.UsableDuringInitialization(true)]
[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.UidProperty("Uid")]
[System.ComponentModel.TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[System.Windows.Markup.NameScopeProperty("NameScope", System.Windows.NameScope)]
public class Spinner : System.Windows.Controls.Primitives.RangeBase
public class Spinner = class(System.Windows.Controls.Primitives.RangeBase)
System.Windows.TemplatePartAttribute(Name="IncreaseButton", Type=System.Windows.Controls.Primitives.RepeatButton)
System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")
System.ComponentModel.DefaultEventAttribute("ValueChanged")
System.ComponentModel.DefaultPropertyAttribute("Value")
System.Windows.StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)
System.Windows.Markup.XmlLangPropertyAttribute("Language")
System.Windows.Markup.UsableDuringInitializationAttribute()
System.Windows.Markup.RuntimeNamePropertyAttribute("Name")
System.Windows.Markup.UidPropertyAttribute("Uid")
System.ComponentModel.TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)
System.Windows.Markup.NameScopePropertyAttribute("NameScope", System.Windows.NameScope)
public class Spinner extends System.Windows.Controls.Primitives.RangeBase
[System.Windows.TemplatePart(Name="IncreaseButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.ComponentModel.DefaultEvent("ValueChanged")]
[System.ComponentModel.DefaultProperty("Value")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.Markup.UsableDuringInitialization(true)]
[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.UidProperty("Uid")]
[System.ComponentModel.TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[System.Windows.Markup.NameScopeProperty("NameScope", System.Windows.NameScope)]
public __gc class Spinner : public System.Windows.Controls.Primitives.RangeBase
[System.Windows.TemplatePart(Name="IncreaseButton", Type=System.Windows.Controls.Primitives.RepeatButton)]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.ComponentModel.DefaultEvent("ValueChanged")]
[System.ComponentModel.DefaultProperty("Value")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.Markup.UsableDuringInitialization(true)]
[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.UidProperty("Uid")]
[System.ComponentModel.TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[System.Windows.Markup.NameScopeProperty("NameScope", System.Windows.NameScope)]
public ref class Spinner : public System.Windows.Controls.Primitives.RangeBase
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.Primitives.RangeBase
SpreadsheetGear.Windows.Controls.Spinner
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also