DependsOnAttribute Class
Definition
Indicates that the property depends on the value of another property in markup.
public class DependsOnAttribute
Constructors
| Name | Description |
|---|---|
| DependsOnAttribute | Initializes a new instance of the Avalonia.Metadata.DependsOnAttribute class. |
DependsOnAttribute Constructor
Initializes a new instance of the Avalonia.Metadata.DependsOnAttribute class.
public DependsOnAttribute(string propertyName)
Parameters
propertyName string
The name of the property that this property depends on.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the property that this property depends on. |
Name Property
Gets the name of the property that this property depends on.
public string Name { get; set; }