Intersoft ClientUI Documentation
UXRibbonFieldLabel Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonFieldLabel Class






Represents a content control for displaying a field label with a single arbitrary child content.

Object Model

UXRibbonFieldLabel Class

Syntax

Visual Basic (Declaration) 
<TemplateVisualStateAttribute(Name="LargeState", GroupName="SizeStates")>
<DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")>
<TemplateVisualStateAttribute(GroupName="SizeStates", Name="SmallState")>
<TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")>
<TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)>
<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 IControlIFramework, ILicensing, IRibbonControlIRibbonKeyTipAction 
Visual Basic (Usage)Copy Code
Dim instance As UXRibbonFieldLabel
C# 
[TemplateVisualStateAttribute(Name="LargeState", GroupName="SizeStates")]
[DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="SmallState")]
[TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[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, IControlIFramework, ILicensing, IRibbonControlIRibbonKeyTipAction  
Delphi 
public class UXRibbonFieldLabel = class(Intersoft.Client.UI.Controls.FieldLabel, IControl, IFramework, ILicensing, IRibbonControl, IRibbonKeyTipAction)
JScript 
TemplateVisualStateAttribute(Name="LargeState", GroupName="SizeStates")
DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")
TemplateVisualStateAttribute(GroupName="SizeStates", Name="SmallState")
TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")
TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)
TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)
TemplatePartAttribute(Name="HeaderLargeElement", Type=Intersoft.Client.UI.Controls.StylishLabel)
public class UXRibbonFieldLabel extends Intersoft.Client.UI.Controls.FieldLabel implements IControlIFramework, ILicensing, IRibbonControlIRibbonKeyTipAction 
Managed Extensions for C++ 
[TemplateVisualStateAttribute(Name="LargeState", GroupName="SizeStates")]
[DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="SmallState")]
[TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="HeaderLargeElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
public __gc class UXRibbonFieldLabel : public Intersoft.Client.UI.Controls.FieldLabel, IControlIFramework, ILicensing, IRibbonControlIRibbonKeyTipAction  
C++/CLI 
[TemplateVisualStateAttribute(Name="LargeState", GroupName="SizeStates")]
[DescriptionAttribute("Represents a content control for displaying a field label with a single arbitrary child content.")]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="SmallState")]
[TemplatePartAttribute(Name="GridHeaderElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="HeaderBorder", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplateVisualStateAttribute(GroupName="SizeStates", Name="MediumState")]
[TemplatePartAttribute(Name="HeaderElement", Type=Intersoft.Client.UI.Controls.StylishLabel)]
[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, IControlIFramework, ILicensing, IRibbonControlIRibbonKeyTipAction  

Remarks

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.

Inheritance Hierarchy

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

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.