ExpanderThemeProperties Class
Provides attached properties for use in expanders.
public static class ExpanderThemeProperties
- Inheritance:
- object object
Methods
GetCanMeasureCollapsedContent(DependencyObject)
Gets the value of the CanMeasureCollapsedContent attached property for the specified object.
public static bool GetCanMeasureCollapsedContent(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetCollapseDuration(DependencyObject)
Gets the value of the CollapseDuration attached property for the specified object.
public static Duration GetCollapseDuration(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetExpandDuration(DependencyObject)
Gets the value of the ExpandDuration attached property for the specified object.
public static Duration GetExpandDuration(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
SetCanMeasureCollapsedContent(DependencyObject, bool)
Sets the value of the CanMeasureCollapsedContent attached property to the specified object.
public static void SetCanMeasureCollapsedContent(DependencyObject obj, bool value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | bool | The value to set. |
SetCollapseDuration(DependencyObject, Duration)
Sets the value of the CollapseDuration attached property to the specified object.
public static void SetCollapseDuration(DependencyObject obj, Duration value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Duration | The value to set. |
SetExpandDuration(DependencyObject, Duration)
Sets the value of the ExpandDuration attached property to the specified object.
public static void SetExpandDuration(DependencyObject obj, Duration value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Duration | The value to set. |
Fields
CanMeasureCollapsedContentProperty
Defines the CanMeasureCollapsedContent property.
public static readonly DependencyProperty CanMeasureCollapsedContentProperty
CollapseDurationProperty
Defines the CollapseDuration property.
public static readonly DependencyProperty CollapseDurationProperty
ExpandDurationProperty
Defines the ExpandDuration property.
public static readonly DependencyProperty ExpandDurationProperty