C# Class System.Windows.DependencyProperty

Afficher le fichier Open project: Clancey/ClanceyLib Class Usage Examples

Méthodes publiques

Свойство Type Description
UnsetValue object

Private Properties

Свойство Type Description
AddPropertyChangeCallback void
CustomUnmanagedPropertyChangedCallbackSafe void
DependencyProperty System.Collections.Generic
DependencyProperty System.Collections.Generic
GetDefaultValue object
GetDefaultValue object
InvokeChangedCallback void
Lookup DependencyProperty
Lookup DependencyProperty
Lookup DependencyProperty
Lookup DependencyProperty
LookupInternal bool
RegisterAny DependencyProperty
RegisterAttachedCore DependencyProperty
RegisterCore DependencyProperty
RegisterReadOnlyAttached DependencyProperty
RegisterReadOnlyCore DependencyProperty
TryLookup bool
UnmanagedPropertyChangedCallback void
UnmanagedPropertyChangedCallbackSafe void

Méthodes publiques

Méthode Description
AddOwner ( Type ownerType ) : DependencyProperty
AddOwner ( Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : DependencyProperty
GetHashCode ( ) : int
GetMetadata ( System.Windows.DependencyObjectType dependencyObjectType ) : System.Windows.PropertyMetadata
GetMetadata ( IDependencyObject d ) : System.Windows.PropertyMetadata
GetMetadata ( Type forType ) : System.Windows.PropertyMetadata
IsValidType ( object value ) : bool
IsValidValue ( object value ) : bool
OverrideMetadata ( Type forType, System.Windows.PropertyMetadata typeMetadata ) : void
OverrideMetadata ( Type forType, System.Windows.PropertyMetadata typeMetadata, System.Windows.DependencyPropertyKey key ) : void
Register ( string name, Type propertyType, Type ownerType ) : DependencyProperty
Register ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : DependencyProperty
Register ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback ) : DependencyProperty
RegisterAttached ( string name, Type propertyType, Type ownerType ) : DependencyProperty
RegisterAttached ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : DependencyProperty
RegisterAttached ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback ) : DependencyProperty
RegisterAttachedReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : System.Windows.DependencyPropertyKey
RegisterAttachedReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback ) : System.Windows.DependencyPropertyKey
RegisterReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : System.Windows.DependencyPropertyKey
RegisterReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback ) : System.Windows.DependencyPropertyKey
ToString ( ) : string

Private Methods

Méthode Description
AddPropertyChangeCallback ( PropertyChangedCallback callback ) : void
CustomUnmanagedPropertyChangedCallbackSafe ( IntPtr dependency_object, IntPtr propertyChangeArgs, MoonError &error, IntPtr unused ) : void
DependencyProperty ( IntPtr handle, string name, Type property_type, Type declaring_type ) : System.Collections.Generic
DependencyProperty ( bool isAttached, string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback ) : System.Collections.Generic
GetDefaultValue ( Kind kind ) : object
GetDefaultValue ( object ob ) : object
InvokeChangedCallback ( DependencyObject obj, DependencyProperty property, PropertyChangedCallback callback, object old_obj, object new_obj ) : void
Lookup ( IntPtr native ) : DependencyProperty
Lookup ( Kind declaring_kind, string name ) : DependencyProperty
Lookup ( Kind declaring_kind, string name, Type property_type ) : DependencyProperty
Lookup ( Kind declaring_kind, string name, Type property_type, bool create ) : DependencyProperty
LookupInternal ( Kind declaring_kind, string name, Type property_type, bool create, DependencyProperty &property ) : bool
RegisterAny ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata metadata, bool attached, bool readOnly, bool setsParent, bool custom ) : DependencyProperty
RegisterAttachedCore ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : DependencyProperty
RegisterCore ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : DependencyProperty
RegisterReadOnlyAttached ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : DependencyProperty
RegisterReadOnlyCore ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : DependencyProperty
TryLookup ( Kind declaring_kind, string name, DependencyProperty &property ) : bool
UnmanagedPropertyChangedCallback ( IntPtr dependency_object, IntPtr dependency_property, IntPtr old_value, IntPtr new_value ) : void
UnmanagedPropertyChangedCallbackSafe ( IntPtr dependency_object, IntPtr propertyChangeArgs, MoonError &error, IntPtr unused ) : void

Method Details

AddOwner() public méthode

public AddOwner ( Type ownerType ) : DependencyProperty
ownerType Type
Résultat DependencyProperty

AddOwner() public méthode

public AddOwner ( Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : DependencyProperty
ownerType Type
typeMetadata System.Windows.PropertyMetadata
Résultat DependencyProperty

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetMetadata() public méthode

public GetMetadata ( System.Windows.DependencyObjectType dependencyObjectType ) : System.Windows.PropertyMetadata
dependencyObjectType System.Windows.DependencyObjectType
Résultat System.Windows.PropertyMetadata

GetMetadata() public méthode

public GetMetadata ( IDependencyObject d ) : System.Windows.PropertyMetadata
d IDependencyObject
Résultat System.Windows.PropertyMetadata

GetMetadata() public méthode

public GetMetadata ( Type forType ) : System.Windows.PropertyMetadata
forType Type
Résultat System.Windows.PropertyMetadata

IsValidType() public méthode

public IsValidType ( object value ) : bool
value object
Résultat bool

IsValidValue() public méthode

public IsValidValue ( object value ) : bool
value object
Résultat bool

OverrideMetadata() public méthode

public OverrideMetadata ( Type forType, System.Windows.PropertyMetadata typeMetadata ) : void
forType Type
typeMetadata System.Windows.PropertyMetadata
Résultat void

OverrideMetadata() public méthode

public OverrideMetadata ( Type forType, System.Windows.PropertyMetadata typeMetadata, System.Windows.DependencyPropertyKey key ) : void
forType Type
typeMetadata System.Windows.PropertyMetadata
key System.Windows.DependencyPropertyKey
Résultat void

Register() public static méthode

public static Register ( string name, Type propertyType, Type ownerType ) : DependencyProperty
name string
propertyType Type
ownerType Type
Résultat DependencyProperty

Register() public static méthode

public static Register ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : DependencyProperty
name string
propertyType Type
ownerType Type
typeMetadata System.Windows.PropertyMetadata
Résultat DependencyProperty

Register() public static méthode

public static Register ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback ) : DependencyProperty
name string
propertyType Type
ownerType Type
typeMetadata System.Windows.PropertyMetadata
validateValueCallback ValidateValueCallback
Résultat DependencyProperty

RegisterAttached() public static méthode

public static RegisterAttached ( string name, Type propertyType, Type ownerType ) : DependencyProperty
name string
propertyType Type
ownerType Type
Résultat DependencyProperty

RegisterAttached() public static méthode

public static RegisterAttached ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : DependencyProperty
name string
propertyType Type
ownerType Type
defaultMetadata System.Windows.PropertyMetadata
Résultat DependencyProperty

RegisterAttached() public static méthode

public static RegisterAttached ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback ) : DependencyProperty
name string
propertyType Type
ownerType Type
defaultMetadata System.Windows.PropertyMetadata
validateValueCallback ValidateValueCallback
Résultat DependencyProperty

RegisterAttachedReadOnly() public static méthode

public static RegisterAttachedReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata ) : System.Windows.DependencyPropertyKey
name string
propertyType Type
ownerType Type
defaultMetadata System.Windows.PropertyMetadata
Résultat System.Windows.DependencyPropertyKey

RegisterAttachedReadOnly() public static méthode

public static RegisterAttachedReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback ) : System.Windows.DependencyPropertyKey
name string
propertyType Type
ownerType Type
defaultMetadata System.Windows.PropertyMetadata
validateValueCallback ValidateValueCallback
Résultat System.Windows.DependencyPropertyKey

RegisterReadOnly() public static méthode

public static RegisterReadOnly ( string name, Type propertyType, Type ownerType, System.Windows.PropertyMetadata typeMetadata ) : System.Windows.DependencyPropertyKey
name string
propertyType Type
ownerType Type
typeMetadata System.Windows.PropertyMetadata
Résultat System.Windows.DependencyPropertyKey

RegisterReadOnly() public static méthode

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
Résultat System.Windows.DependencyPropertyKey

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

UnsetValue public_oe static_oe property

public static object UnsetValue
Résultat object