Modifiability Enum
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.
Specifies the modifiability value of a LocalizabilityAttribute for a binary XAML (BAML) class or class member.
public enum class Modifiability
public enum Modifiability
type Modifiability =
Public Enum Modifiability
- Inheritance
Fields
Inherit | 2 | Targeted value modifiability is inherited from its parent node. |
Modifiable | 1 | Targeted value is modifiable by localizers. |
Unmodifiable | 0 | Targeted value is not modifiable by localizers. |
Examples
The following code example shows the modifiability value of localization attributes defined for a button.
<!-- Define localization attributes for the button.
- The content is visible to the localizer and can be changed.
- The font family property is visible to the localizer but cannot be changed. -->
<Button
FontFamily="Microsoft San Serif"
Localization.Attributes=
"$Content(Button Readable Modifiable) FontFamily(Font Readable Unmodifiable)" >
your company name here
</Button>
Remarks
A LocalizabilityAttribute attribute can be applied to a class, property, or method.
For more information on how to use localization attributes, see Localization Attributes and Comments.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기