AvaloniaPropertyMetadata Class
Base class for avalonia property metadata.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class AvaloniaPropertyMetadata
Public MustInherit Class AvaloniaPropertyMetadata
[<AbstractClassAttribute>]
type AvaloniaPropertyMetadata = class end
Inheritance | Object → AvaloniaPropertyMetadata |
Derived | Avalonia.DirectPropertyMetadata(TValue) Avalonia.StyledPropertyMetadata(TValue) |
Constructors
AvaloniaPropertyMetadata(BindingMode, Nullable(Boolean)) | Initializes a new instance of the AvaloniaPropertyMetadata class. |
Properties
DefaultBindingMode | Gets the default binding mode for the property. |
EnableDataValidation | Gets a value indicating whether the property is interested in data validation. |
IsReadOnly | Gets whether this instance is read-only and can't be modified. |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Freeze() | Makes this instance read-only. No further modifications are allowed after this call. |
GenerateTypeSafeMetadata() | Gets a copy of this object configured for use with any owner type. |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
Merge(AvaloniaPropertyMetadata, AvaloniaProperty) | Merges the metadata with the base metadata. |
ToString() | Returns a string that represents the current object. (Inherited from Object) |