DependencyPropertyRegister Method |
Registers a dependency property with the specified property name, property type, owner type, and property metadata.
Namespace: Windows.UI.XamlAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public static DependencyProperty Register(
string name,
Type propertyType,
Type ownerType,
PropertyMetadata typeMetadata
)
Parameters
- name
- Type: SystemString
The property name. - propertyType
- Type: SystemType
The type of the property. - ownerType
- Type: SystemType
The type of the property's owner. - typeMetadata
- Type: Windows.UI.XamlPropertyMetadata
The property metadata.
Return Value
Type:
DependencyPropertyThe DependencyProperty.
See Also