In This Article

ContextMenuThemeProperties Class

Provides attached properties for use in context menu themes.

public static class ContextMenuThemeProperties
Inheritance:
object object

Methods

GetCanAdjustOffsetsForShadow(DependencyObject)

Gets the value of the CanAdjustOffsetsForShadow attached property for the specified object.

public static bool GetCanAdjustOffsetsForShadow(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object from which the property value is read.

Returns

bool

SetCanAdjustOffsetsForShadow(DependencyObject, bool)

Sets the value of the CanAdjustOffsetsForShadow attached property to the specified object.

public static void SetCanAdjustOffsetsForShadow(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value bool

The value to set.

Fields

CanAdjustOffsetsForShadowProperty

Defines the CanAdjustOffsetsForShadow property.

public static readonly DependencyProperty CanAdjustOffsetsForShadowProperty

Inherited Members