Skip to end of metadata
Go to start of metadata

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

Definition

public class GlassLabel : StylishLabel

Summary

The following table summarizes the members exposed in this class.

Public Constructors

GlassLabel Constructor()Initializes a new instance of the GlassLabel class.

Public Properties

GlassBackgroundGets or sets the glass background.
ShineBackgroundGets or sets the shine background.
SpreadBackgroundGets or sets the spread background.

Protected Properties

ProductProduct Info.

Fields

GlassBackgroundPropertyIdentifies the GlassBackground dependency property.
ShineBackgroundPropertyIdentifies the ShineBackground dependency property.
SpreadBackgroundPropertyIdentifies the SpreadBackground dependency property.

Public Methods

InitializeTemplates()Initializes control templates.

Public Constructors

public GlassLabel()

Initializes a new instance of the GlassLabel class.

Public Properties

public Brush GlassBackground { get; set; }

Gets or sets the glass background.

public Brush ShineBackground { get; set; }

Gets or sets the shine background.

public Brush SpreadBackground { get; set; }

Gets or sets the spread background.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty GlassBackgroundProperty

Identifies the GlassBackground dependency property.

public static readonly DependencyProperty ShineBackgroundProperty

Identifies the ShineBackground dependency property.

public static readonly DependencyProperty SpreadBackgroundProperty

Identifies the SpreadBackground dependency property.

Public Methods

public void InitializeTemplates()

Initializes control templates.

  • No labels