AutomationProperties.LocalizedControlType Attached Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a localized text string that describes the type of control that the automation element represents.
see GetLocalizedControlType, and SetLocalizedControlType
see GetLocalizedControlType, and SetLocalizedControlType
see GetLocalizedControlType, and SetLocalizedControlType
Remarks
The string should contain only lowercase characters:
- Correct: "button"
- Incorrect: "Button"
When LocalizedControlType
is not specified by the element provider, the default localized string is supplied by the framework, according to the control type of the element (for example, "button" for the Button control type). An automation element with the Custom
control type must support a localized control type string that represents the role of the element (for example, "color picker" for a custom control that enables users to choose and specify colors).
When a custom value is supplied, the string must match the application UI language or the operating system default UI language.
- Type: string
- Identifier field: LocalizedControlTypeProperty
- Accessor methods: GetLocalizedControlType, SetLocalizedControlType
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin