Class
DropShadow

Used for popup shadows mostly.

Definition

Namespace:Telerik.Windows.Controls.RibbonView.Primitives

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
public class DropShadow : ContentControl

Inheritance: objectDropShadow

Constructors

DropShadow()

Initializes a new instance of the DropShadow class.

Declaration

cs-api-definition
public DropShadow()

Fields

ShadowColorProperty

Identifies a ShadowColor property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShadowColorProperty

Field Value

DependencyProperty

ShadowSizeProperty

Identifies a ShadowSize property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShadowSizeProperty

Field Value

DependencyProperty

Properties

ShadowColor

Gets or sets the color of the shadow.

Declaration

cs-api-definition
public Color ShadowColor { get; set; }

Property Value

Color

The color of the shadow.

ShadowSize

Gets or sets the size of the shadow.

Declaration

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

Property Value

double

The size of the shadow.

Methods

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.