New to Telerik UI for WPFStart a free 30-day trial

Creates an inner glow effect by itself.

Definition

Namespace:Telerik.Windows.Controls.MaterialControls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class InnerGlow : FrameworkElement

Inheritance: objectInnerGlow

Constructors

C#
public InnerGlow()

Fields

BaseBrushProperty

DependencyProperty

Identifies the BaseBrush dependency property.

C#
public static readonly DependencyProperty BaseBrushProperty

CornerRadiusProperty

DependencyProperty

Identifies the CornerRadius dependency property.

C#
public static readonly DependencyProperty CornerRadiusProperty

MaximumOpacityProperty

DependencyProperty

Identifies the MaximumOpacity dependency property.

C#
public static readonly DependencyProperty MaximumOpacityProperty

SpreadProperty

DependencyProperty

Identifies the Spread dependency property.

C#
public static readonly DependencyProperty SpreadProperty

Properties

BaseBrush

SolidColorBrush

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

C#
public SolidColorBrush BaseBrush { get; set; }

CornerRadius

CornerRadius

Gets or sets the CornerRadius of the element.

C#
public CornerRadius CornerRadius { get; set; }

Gets or sets the maximum opacity of the glow.

C#
public double MaximumOpacity { get; set; }

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

C#
public int Spread { get; set; }

Methods

C#
protected override void OnRender(DrawingContext drawingContext)
Parameters:drawingContextDrawingContext