Intersoft.Client.UI.Aqua.UXInput Namespace : UXDomainUpDown Class |
<TemplateVisualStateAttribute(Name="Display", GroupName="InteractionModeStates")> <TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Edit")> <TemplatePartAttribute(Name="TextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)> <TemplateVisualStateAttribute(GroupName="DomainStates", Name="ValidDomain")> <TemplatePartAttribute(Name="ErrorVisualElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="SpinnerElement", Type=Intersoft.Client.UI.Aqua.UXInput.UXButtonSpinner)> <TemplatePartAttribute(Name="GridContentElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="Visualization", Type=System.Windows.Controls.ItemsPresenter)> <TemplateVisualStateAttribute(GroupName="DomainStates", Name="InvalidDomain")> Public Class UXDomainUpDown Inherits Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase(Of Object) Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing
Dim instance As UXDomainUpDown
[TemplateVisualStateAttribute(Name="Display", GroupName="InteractionModeStates")] [TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Edit")] [TemplatePartAttribute(Name="TextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)] [TemplateVisualStateAttribute(GroupName="DomainStates", Name="ValidDomain")] [TemplatePartAttribute(Name="ErrorVisualElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="SpinnerElement", Type=Intersoft.Client.UI.Aqua.UXInput.UXButtonSpinner)] [TemplatePartAttribute(Name="GridContentElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="Visualization", Type=System.Windows.Controls.ItemsPresenter)] [TemplateVisualStateAttribute(GroupName="DomainStates", Name="InvalidDomain")] public class UXDomainUpDown : Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase<object>, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing
[TemplateVisualStateAttribute(Name="Display", GroupName="InteractionModeStates")] [TemplateVisualStateAttribute(GroupName="InteractionModeStates", Name="Edit")] [TemplatePartAttribute(Name="TextElement", Type=Intersoft.Client.UI.Controls.UXTextBox)] [TemplateVisualStateAttribute(GroupName="DomainStates", Name="ValidDomain")] [TemplatePartAttribute(Name="ErrorVisualElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="SpinnerElement", Type=Intersoft.Client.UI.Aqua.UXInput.UXButtonSpinner)] [TemplatePartAttribute(Name="GridContentElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="Visualization", Type=System.Windows.Controls.ItemsPresenter)] [TemplateVisualStateAttribute(GroupName="DomainStates", Name="InvalidDomain")] public ref class UXDomainUpDown : public Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase<Object>, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing
UXDomainUpDown control displays a single value that is selected from an Object collection by clicking the up or down buttons of the control. Users can also enter text in the control, unless the IsEditable property is set to false (the string typed in must match an item in the collection to be accepted). You can also can get the current item, index and value using CurrentItem, CurrentIndex and Value property.
The following code shows how to create a simple UXDomainUpDown control.
XAML |
Copy Code
|
---|---|
<Grid> <Intersoft:UXDomainUpDown Width="150" > <Systems:String>School</Systems:String> <Systems:String>University</Systems:String> <Systems:String>Work</Systems:String> <Systems:String>Mall</Systems:String> <Systems:String>Home</Systems:String> </Intersoft:UXDomainUpDown> </Grid> |
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
Intersoft.Client.Framework.ISItemsControl
Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase
Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase<T>
Intersoft.Client.UI.Aqua.UXInput.UXDomainUpDown
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