LocalizabilityAttribute.Modifiability 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 the modifiability setting of the localization attribute's targeted value.
public:
property System::Windows::Modifiability Modifiability { System::Windows::Modifiability get(); void set(System::Windows::Modifiability value); };
public System.Windows.Modifiability Modifiability { get; set; }
member this.Modifiability : System.Windows.Modifiability with get, set
Public Property Modifiability As Modifiability
Property Value
The modifiability setting of the localization attribute.
Examples
The following code example shows the modifiability setting 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
The following table shows the modifiability settings of the localization attribute.
Modifiability setting | Meaning |
---|---|
Modifiable | Targeted value is modifiable by localizers. |
Unmodifiable | Targeted value is not modifiable by localizers. |
Inherit | Targeted value's modifiability is inherited from its parent node. |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET