Uredi

Deli z drugimi prek


BamlLocalizationDictionary.RootElementKey Property

Definition

Gets the key of the root element, if it is localizable.

public:
 property System::Windows::Markup::Localizer::BamlLocalizableResourceKey ^ RootElementKey { System::Windows::Markup::Localizer::BamlLocalizableResourceKey ^ get(); };
public System.Windows.Markup.Localizer.BamlLocalizableResourceKey RootElementKey { get; }
member this.RootElementKey : System.Windows.Markup.Localizer.BamlLocalizableResourceKey
Public ReadOnly Property RootElementKey As BamlLocalizableResourceKey

Property Value

The key of the root element, if it is localizable. Otherwise, the value is set to null.

Remarks

You can set some properties for the entire page by adding or modifying the properties of its root element, due to the effects of property inheritance for dependency properties. For example, changing the root element's FlowDirection property sets that property for every element on the page.

Applies to