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
- Boolean:
The object's value.
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
- Duration:
The object's value.
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
- Duration:
The object's value.
SetCanMeasureCollapsedContent(DependencyObject, Boolean)
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 | Boolean | 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
Identifies the CanMeasureCollapsedContent
dependency property. This field is read-only.
public static readonly DependencyProperty CanMeasureCollapsedContentProperty
CollapseDurationProperty
Identifies the CollapseDuration
dependency property. This field is read-only.
public static readonly DependencyProperty CollapseDurationProperty
ExpandDurationProperty
Identifies the ExpandDuration
dependency property. This field is read-only.
public static readonly DependencyProperty ExpandDurationProperty