GetProperty Method
GetProperty(String)
Gets the design item property with the specified name.
Declaration
public abstract DesignItemProperty GetProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
DesignItemProperty |
GetProperty(DependencyProperty)
Gets the design item property representing the specified dependency property. The property must not be an attached property.
Declaration
public DesignItemProperty GetProperty(DependencyProperty dependencyProperty)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyProperty | dependencyProperty |
Returns
Type | Description |
---|---|
DesignItemProperty |