public static RegisterReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback ) : System.Windows.DependencyPropertyKey | ||
name | string | |
propertyType | Type | |
ownerType | Type | |
typeMetadata | System.Windows.PropertyMetadata | |
validateValueCallback | ValidateValueCallback | |
return | System.Windows.DependencyPropertyKey |
public static DependencyPropertyKey RegisterReadOnly(string name, Type propertyType, Type ownerType,
PropertyMetadata typeMetadata,
ValidateValueCallback validateValueCallback)
{
DependencyProperty prop = Register (name, propertyType, ownerType, typeMetadata, validateValueCallback);
prop.ReadOnly = true;
return new DependencyPropertyKey (prop);
}
DependencyProperty::RegisterReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : System.Windows.DependencyPropertyKey |