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

Used for popup shadows mostly.

Definition

Namespace:Telerik.Windows.Controls.RibbonView.Primitives

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class DropShadow : ContentControl

Inheritance: objectDropShadow

Constructors

Initializes a new instance of the DropShadow class.

C#
public DropShadow()

Fields

ShadowColorProperty

DependencyProperty

Identifies a ShadowColor property.

C#
public static readonly DependencyProperty ShadowColorProperty

ShadowSizeProperty

DependencyProperty

Identifies a ShadowSize property.

C#
public static readonly DependencyProperty ShadowSizeProperty

Properties

Gets or sets the color of the shadow.

C#
public Color ShadowColor { get; set; }
Property Value:

The color of the shadow.

Gets or sets the size of the shadow.

C#
public double ShadowSize { get; set; }
Property Value:

The size of the shadow.

Methods

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.