DependsOnAttribute Class

Summary

Indicates that the property depends on the value of another property in markup.
Namespace
Avalonia.Metadata
Base Types
  • object
  • Attribute
graph BT Type-->Base0["Attribute"] Base0-->Base1["object"] Type["DependsOnAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class DependsOnAttribute : Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
DependsOnAttribute(string) Initializes a new instance of the DependsOnAttribute class.

Properties

Name Value Summary
Name string
Gets the name of the property that this property depends on.