HintProperties Class
Provides attached properties that provide hint content for controls
public static class HintProperties
- Inheritance:
- Object Object
Methods
GetHasContent(DependencyObject)
Gets the value of the HasContent
attached property for the specified object.
public static bool GetHasContent(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object from which the property value is read. |
Returns
- Boolean:
The object's value.
GetHasHint(DependencyObject)
Gets the value of the HasHint
attached property for the specified object.
public static bool GetHasHint(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object from which the property value is read. |
Returns
- Boolean:
The object's value.
GetHint(DependencyObject)
Gets the value of the Hint
attached property for the specified object.
public static object GetHint(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object from which the property value is read. |
Returns
- Object:
The object's value.
GetHintTemplate(DependencyObject)
Gets the value of the HintTemplate
attached property for the specified object.
public static DataTemplate GetHintTemplate(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object from which the property value is read. |
Returns
- DataTemplate:
The object's value.
GetHintTemplateSelector(DependencyObject)
Gets the value of the HintTemplateSelector
attached property for the specified object.
public static DataTemplateSelector GetHintTemplateSelector(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object from which the property value is read. |
Returns
- DataTemplateSelector:
The object's value.
SetHint(DependencyObject, Object)
Sets the value of the Hint
attached property to the specified object.
public static void SetHint(DependencyObject obj, object value)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | Object | The value to set. |
SetHintTemplate(DependencyObject, DataTemplate)
Sets the value of the HintTemplate
attached property to the specified object.
public static void SetHintTemplate(DependencyObject obj, DataTemplate value)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | DataTemplate | The value to set. |
SetHintTemplateSelector(DependencyObject, DataTemplateSelector)
Sets the value of the HintTemplateSelector
attached property to the specified object.
public static void SetHintTemplateSelector(DependencyObject obj, DataTemplateSelector value)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | DataTemplateSelector | The value to set. |
Fields
HasContentProperty
Identifies the read-only HasContent
dependency property. This field is read-only.
public static readonly DependencyProperty HasContentProperty
HasHintProperty
Identifies the read-only HasHint
dependency property. This field is read-only.
public static readonly DependencyProperty HasHintProperty
HintProperty
Identifies the Hint
dependency property. This field is read-only.
public static readonly DependencyProperty HintProperty
HintTemplateProperty
Identifies the HintTemplate
dependency property. This field is read-only.
public static readonly DependencyProperty HintTemplateProperty
HintTemplateSelectorProperty
Identifies the HintTemplateSelector
dependency property. This field is read-only.
public static readonly DependencyProperty HintTemplateSelectorProperty