Class
InnerGlow

Creates an inner glow effect by itself.

Definition

Namespace:Telerik.Windows.Controls.MaterialControls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class InnerGlow : FrameworkElement

Inheritance: objectInnerGlow

Constructors

InnerGlow()

Declaration

cs-api-definition
public InnerGlow()

Fields

BaseBrushProperty

Identifies the BaseBrush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BaseBrushProperty

Field Value

DependencyProperty

CornerRadiusProperty

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

MaximumOpacityProperty

Identifies the MaximumOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaximumOpacityProperty

Field Value

DependencyProperty

SpreadProperty

Identifies the Spread dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SpreadProperty

Field Value

DependencyProperty

Properties

BaseBrush

Gets or sets the base brush to be used when creating the effect.

Declaration

cs-api-definition
public SolidColorBrush BaseBrush { get; set; }

Property Value

SolidColorBrush

CornerRadius

Gets or sets the CornerRadius of the element.

Declaration

cs-api-definition
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

MaximumOpacity

Gets or sets the maximum opacity of the glow.

Declaration

cs-api-definition
public double MaximumOpacity { get; set; }

Property Value

double

Spread

Gets or sets the spread of the inner glow effect in pixels.

Declaration

cs-api-definition
public int Spread { get; set; }

Property Value

int

Methods

OnRender(DrawingContext)

Declaration

cs-api-definition
protected override void OnRender(DrawingContext drawingContext)

Parameters

drawingContext

DrawingContext