Skip to end of metadata
Go to start of metadata

GlassLabel is a content control that visualizes a content inside a round-cornered container with built-in glass effect. GlassLabel is commonly used in modern user interface application which is suitable to be used for toolbars, headers, status bars and more.

On this page:

Content Control

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.

ImageContent Model

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.

Customizing GlassLabel Appearance

You can customize the GlassLabel appearance through the following properties. 

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


XAML

 

Related Topics