Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonFieldLabel Class |
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplateVisualStateAttribute(Name="SmallState", GroupName="SizeStates")> <TemplateVisualStateAttribute(GroupName="SizeStates", Name="LargeState")> <TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)> <DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")> <TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)> <TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")> <TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)> <TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)> <TemplatePartAttribute(Name="HeaderLargeElement", Type=Intersoft.Client.UI.Controls.StylishLabel)> Public Class UXRibbonFieldLabel Inherits Intersoft.Client.UI.Controls.FieldLabel Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IRibbonControl, IRibbonKeyTipAction
Dim instance As UXRibbonFieldLabel
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplateVisualStateAttribute(Name="SmallState", GroupName="SizeStates")] [TemplateVisualStateAttribute(GroupName="SizeStates", Name="LargeState")] [TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")] [TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")] [TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)] [TemplatePartAttribute(Name="HeaderLargeElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] public class UXRibbonFieldLabel : Intersoft.Client.UI.Controls.FieldLabel, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IRibbonControl, IRibbonKeyTipAction
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplateVisualStateAttribute(Name="SmallState", GroupName="SizeStates")] [TemplateVisualStateAttribute(GroupName="SizeStates", Name="LargeState")] [TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")] [TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] [TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")] [TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)] [TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)] [TemplatePartAttribute(Name="HeaderLargeElement", Type=Intersoft.Client.UI.Controls.StylishLabel)] public ref class UXRibbonFieldLabel : public Intersoft.Client.UI.Controls.FieldLabel, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IRibbonControl, IRibbonKeyTipAction
Derived from FieldLabel, UXRibbonFieldLabel represents a data field that typically consists of a label and an input control. The label of a FieldLabel can be customized through the Header property, while the input control is defined in the Content property. Beside input controls, you can actually use any kind of controls as the content such as check box, radio button, combo box and so on. For more information, see FieldLabel Overview.
XAML |
Copy Code
|
---|---|
<Intersoft:UXRibbonFieldLabel MaximumSize="Medium" MinimumSize="Medium" Header="Import :" LargeIcon="/assets/icons/import.png" Icon="/assets/icons/import.png"> <Intersoft:UXTextBox Width="80" WatermarkText="Import Name" WatermarkTextVisibility="Visible" /> </Intersoft:UXRibbonFieldLabel> |
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.ContentControl
Intersoft.Client.Framework.ISContentControl
Intersoft.Client.Framework.ISHeaderedContentControl
Intersoft.Client.UI.Controls.FieldLabel
Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonFieldLabel
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