Visual Basic (Declaration) | |
---|---|
Overrides Public ReadOnly Property Description As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public override string Description {get;} |
Return Value
String.The description is typically used to provide greater context for low-vision or blind users.
For example, a button with "OK" does not require a description, but a button that shows a picture of a cup would. The Name and Role properties describe the purpose of the cup button, but the Description property conveys information that is less tangible, like "A button with a picture of a cup."