Intersoft ClientUI Documentation
UXDomainUpDown Class
Members 



Represents a control that enables single value selection from a domain of values through a UXSpinner and UXTextBox.
Object Model
UXDomainUpDown ClassISFramework ClassStyleSelector ClassDataTemplateSelector Class
Syntax
<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.IControlIntersoft.Client.Framework.IFrameworkIntersoft.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.IControlIntersoft.Client.Framework.IFrameworkIntersoft.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.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing  
Remarks

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>
Inheritance Hierarchy

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

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

Reference

UXDomainUpDown Members
Intersoft.Client.UI.Aqua.UXInput Namespace

Concepts

Commanding Overview
Items Control Overview
UXDomainUpDown

Send Feedback