Intersoft ClientUI Documentation
How-to: Customize Label Appearance in GlassLabel
See Also Send Feedback
Intersoft ClientUI 7 > ClientUI Controls > Control Library > UI Controls Overview > GlassLabel > How-to: Customize Label Appearance in GlassLabel

Glossary Item Box

This example shows how to customize label appearance in GlassLabel.

Example

Description

You can customize the GlassLabel appearance through the following properties.

  • Background
  • BorderBrush
  • BorderThickness
  • CornerRadius
  • ContentEffect
  • GlassBackground
  • ShineBackground
  • SpreadBackground

The following example show how to customize GlassLabel appearance.

Code

XAML Copy Code
<Intersoft:GlassLabel Intersoft:DockPanel.Dock="Top" Content="Feedback" SpreadBackground="CornflowerBlue" 
                ImageSource="/CustomizeLabelAppearanceInGlassLabel;component/Images/tools-icon.png" ImageHeight="20" ImageWidth="20" 
                ContentType="ContentAndImage" ImageMargin="0 0 5 0" HorizontalContentAlignment="Left" 
                TextImageRelation="ImageBeforeText" />

<Intersoft:GlassLabel Name="glassLabel" Intersoft:DockPanel.Dock="Bottom" Content="Thank for the feedback" ShineBackground="CornflowerBlue" HorizontalContentAlignment="Center" />

See Also

©2012. All Rights Reserved.