public PropertyMetadata GetMetadata(DependencyObjectType dependencyObjectType) { if (dependencyObjectType != null) { return(GetMetadata(dependencyObjectType.SystemType)); } return(null); }
public static DependencyObjectType FromSystemType(Type systemType) { if (_typeMap.ContainsKey(systemType)) { return(_typeMap[systemType]); } DependencyObjectType dot; _typeMap[systemType] = dot = new DependencyObjectType(_currentID++, systemType); return(dot); }
public bool IsSubclassOf(DependencyObjectType dependencyObjectType) { return(dependencyObjectType != null && _systemType.IsSubclassOf(dependencyObjectType.SystemType)); }