Intersoft ClientUI Documentation
UXDomainUpDown Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace : UXDomainUpDown Class






Represents a control that enables single value selection from a domain of values through a UXSpinner and UXTextBox.

Object Model

UXDomainUpDown Class

Syntax

Visual Basic (Declaration) 
<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 IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXDomainUpDown
C# 
[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>, IControlIFramework, ILicensing  
Delphi 
public class UXDomainUpDown = class(Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase, IControl, IFramework, ILicensing)
JScript 
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 extends Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[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 __gc class UXDomainUpDown : public Intersoft.Client.UI.Aqua.UXInput.UXUpDownItemsBase<Object>, IControlIFramework, ILicensing  
C++/CLI 
[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>, IControlIFramework, 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.