Intersoft ClientUI Documentation
GlassLabel Class
Members 



Provides a lightweight glass-themed content control.
Object Model
GlassLabel ClassISFramework Class
Syntax
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="SpreadColor", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="GlowEffect", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="GlassColor", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="ShineGlow", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="GlowColor", Type=System.Windows.Controls.Border)>
<DescriptionAttribute("Provides a lightweight glass-themed content control.")>
<TemplatePartAttribute(Name="BaseColor", Type=System.Windows.Controls.Border)>
Public Class GlassLabel 
   Inherits StylishLabel
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing 
Dim instance As GlassLabel
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="SpreadColor", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlowEffect", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlassColor", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ShineGlow", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlowColor", Type=System.Windows.Controls.Border)]
[DescriptionAttribute("Provides a lightweight glass-themed content control.")]
[TemplatePartAttribute(Name="BaseColor", Type=System.Windows.Controls.Border)]
public class GlassLabel : StylishLabel, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="SpreadColor", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlowEffect", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlassColor", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="ShineGlow", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="GlowColor", Type=System.Windows.Controls.Border)]
[DescriptionAttribute("Provides a lightweight glass-themed content control.")]
[TemplatePartAttribute(Name="BaseColor", Type=System.Windows.Controls.Border)]
public ref class GlassLabel : public StylishLabel, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
Remarks

GlassLabel is inherited from ISContentControl, which means that it can contain a single object of any types, such as a string, an image, or a panel. For more information about this content model, see Content Model Overview.

GlassLabel supports ImageContent model concept which provides capability to efficiently specify the Image and Content through the provided properties. To learn more about ImageContent model, see Content Model Overview.

Example

The following example shows how to create a Header and a Footer using GlassLabel.

XAML
Copy Code
<Intersoft:DockPanel HorizontalAlignment="Center" Height="240" VerticalAlignment="Center" Width="200" FillChildMode="Custom">
    <Intersoft:GlassLabel Content="Header" Intersoft:DockPanel.Dock="Top" VerticalAlignment="Top" CornerRadius="8,8,0,0"/>
    <Intersoft:GlassLabel Content="Footer" Intersoft:DockPanel.Dock="Bottom" VerticalAlignment="Bottom" CornerRadius="0,0,8,8"/>
    <Border BorderBrush="#FF7A7A7A" BorderThickness="1" Intersoft:DockPanel.IsFillElement="True" />            
</Intersoft:DockPanel>        

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.UI.Controls.StylishLabel
                        Intersoft.Client.UI.Controls.GlassLabel

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

GlassLabel Members
Intersoft.Client.UI.Controls Namespace

Concepts

GlassLabel

Send Feedback