예제 #1
0
        public PropertyMetadata GetMetadata(DependencyObjectType dependencyObjectType)
        {
            if (dependencyObjectType != null)
            {
                return(GetMetadata(dependencyObjectType.SystemType));
            }

            return(null);
        }
예제 #2
0
        public static DependencyObjectType FromSystemType(Type systemType)
        {
            if (_typeMap.ContainsKey(systemType))
                return _typeMap[systemType];

            DependencyObjectType dot;

            _typeMap[systemType] = dot = new DependencyObjectType(_currentID++, systemType);

            return dot;
        }
예제 #3
0
        public static DependencyObjectType FromSystemType(Type systemType)
        {
            if (_typeMap.ContainsKey(systemType))
            {
                return(_typeMap[systemType]);
            }

            DependencyObjectType dot;

            _typeMap[systemType] = dot = new DependencyObjectType(_currentID++, systemType);

            return(dot);
        }
예제 #4
0
 public bool IsSubclassOf(DependencyObjectType dependencyObjectType)
 {
     return(dependencyObjectType != null && _systemType.IsSubclassOf(dependencyObjectType.SystemType));
 }
예제 #5
0
 public bool IsSubclassOf(DependencyObjectType dependencyObjectType)
 {
     return dependencyObjectType != null && _systemType.IsSubclassOf(dependencyObjectType.SystemType);
 }
예제 #6
0
        public PropertyMetadata GetMetadata(DependencyObjectType dependencyObjectType)
        {
            if (dependencyObjectType != null)
                return GetMetadata(dependencyObjectType.SystemType);

            return null;
        }