Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonComboBox Class |
<TemplatePartAttribute(Name="DropDownMenuContainer", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="PopupElement", Type=Intersoft.Client.UI.Controls.UXPopup)> <TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="EditableElement", Type=System.Windows.Controls.Grid)> <DescriptionAttribute("Represents a selection control in a drop-down list form.")> <TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")> <TemplatePartAttribute(Name="OuterBorder", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="Glass", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="ScrollElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)> <TemplatePartAttribute(Name="HeaderContainer", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)> <TemplatePartAttribute(Name="DropDownTemplateContainer", Type=System.Windows.Controls.Grid)> <TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")> <TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")> <TemplatePartAttribute(Name="validationTooltip", Type=System.Windows.Controls.ToolTip)> <TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)> <TemplatePartAttribute(Name="NonEditableElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="DropDownButton", Type=Intersoft.Client.UI.Aqua.UXToggleButton)> <TemplatePartAttribute(Name="InputElement", Type=Intersoft.Client.UI.Controls.UXTextBox)> <TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)> <TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")> <TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")> <TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")> <TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")> <TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="HighlightFocused")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")> <TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")> Public Class UXRibbonComboBox Inherits Intersoft.Client.UI.Aqua.UXCollection.UXComboBox Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.IFocusRedirection, Intersoft.Client.Framework.Input.IKeyboardFocus, Intersoft.Client.Framework.ISelection, IRibbonControl, IRibbonKeyTipAction
Dim instance As UXRibbonComboBox
[TemplatePartAttribute(Name="DropDownMenuContainer", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="PopupElement", Type=Intersoft.Client.UI.Controls.UXPopup)] [TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="EditableElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Represents a selection control in a drop-down list form.")] [TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")] [TemplatePartAttribute(Name="OuterBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="Glass", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="ScrollElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)] [TemplatePartAttribute(Name="HeaderContainer", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)] [TemplatePartAttribute(Name="DropDownTemplateContainer", Type=System.Windows.Controls.Grid)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")] [TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [TemplatePartAttribute(Name="validationTooltip", Type=System.Windows.Controls.ToolTip)] [TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)] [TemplatePartAttribute(Name="NonEditableElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="DropDownButton", Type=Intersoft.Client.UI.Aqua.UXToggleButton)] [TemplatePartAttribute(Name="InputElement", Type=Intersoft.Client.UI.Controls.UXTextBox)] [TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="HighlightFocused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")] public class UXRibbonComboBox : Intersoft.Client.UI.Aqua.UXCollection.UXComboBox, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.IFocusRedirection, Intersoft.Client.Framework.Input.IKeyboardFocus, Intersoft.Client.Framework.ISelection, IRibbonControl, IRibbonKeyTipAction
[TemplatePartAttribute(Name="DropDownMenuContainer", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="PopupElement", Type=Intersoft.Client.UI.Controls.UXPopup)] [TemplatePartAttribute(Name="InnerBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="EditableElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Represents a selection control in a drop-down list form.")] [TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")] [TemplatePartAttribute(Name="OuterBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="AnimationElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="Glass", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="ScrollElement", Type=Intersoft.Client.UI.Controls.UXScrollViewer)] [TemplatePartAttribute(Name="HeaderContainer", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)] [TemplatePartAttribute(Name="DropDownTemplateContainer", Type=System.Windows.Controls.Grid)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidFocused")] [TemplatePartAttribute(Name="ValidationErrorElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="FocusVisualElement", Type=System.Windows.Controls.Border)] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [TemplatePartAttribute(Name="validationTooltip", Type=System.Windows.Controls.ToolTip)] [TemplatePartAttribute(Name="DisabledVisualElement", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="KeyboardFocus", Type=System.Windows.Shapes.Rectangle)] [TemplatePartAttribute(Name="NonEditableElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="DropDownButton", Type=Intersoft.Client.UI.Aqua.UXToggleButton)] [TemplatePartAttribute(Name="InputElement", Type=Intersoft.Client.UI.Controls.UXTextBox)] [TemplatePartAttribute(Name="ContentPresenter", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardFocused")] [TemplateVisualStateAttribute(GroupName="KeyboardFocusStates", Name="KeyboardUnfocused")] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="InvalidUnfocused")] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Unfocused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="HighlightFocused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Pressed")] [TemplateVisualStateAttribute(GroupName="FocusStates", Name="Focused")] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Disabled")] public ref class UXRibbonComboBox : public Intersoft.Client.UI.Aqua.UXCollection.UXComboBox, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.Input.IFocusRedirection, Intersoft.Client.Framework.Input.IKeyboardFocus, Intersoft.Client.Framework.ISelection, IRibbonControl, IRibbonKeyTipAction
Derived from UXComboBox, UXRibbonComboBox exposes many of the features available in UXComboBox, such as selection control with built-in text search support, editable mode and also it fully support MVVM model. To learn more about UXComboBox, see UXComboBox Overview.
XAML |
Copy Code
|
---|---|
<Intersoft:UXRibbonComboBox Width="105" SelectedIndex="0" Intersoft:UXRibbonKeyTipService.AccessText="FF"> <Intersoft:UXComboBoxItem Content="Arial" FontFamily="Arial" /> <Intersoft:UXComboBoxItem Content="Arial Black" FontFamily="Arial Black" /> <Intersoft:UXComboBoxItem Content="Comic Sans MS" FontFamily="Comic Sans MS" /> <Intersoft:UXComboBoxItem Content="Courier New" FontFamily="Courier New" /> <Intersoft:UXComboBoxItem Content="Georgia" FontFamily="Georgia" /> </Intersoft:UXRibbonComboBox> |
The result looks like the following figure.
To learn more about ribbon controls, see Working with Ribbon Controls.
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.Framework.ISSelectionControl
Intersoft.Client.UI.Aqua.UXCollection.UXComboBox
Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonComboBox
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