Style.Resources 속성
정의
이 스타일의 범위 내에서 사용할 수 있는 리소스의 컬렉션을 가져오거나 설정합니다.Gets or sets the collection of resources that can be used within the scope of this style.
public:
property System::Windows::ResourceDictionary ^ Resources { System::Windows::ResourceDictionary ^ get(); void set(System::Windows::ResourceDictionary ^ value); };
[System.Windows.Markup.Ambient]
public System.Windows.ResourceDictionary Resources { get; set; }
public System.Windows.ResourceDictionary Resources { get; set; }
[<System.Windows.Markup.Ambient>]
member this.Resources : System.Windows.ResourceDictionary with get, set
member this.Resources : System.Windows.ResourceDictionary with get, set
Public Property Resources As ResourceDictionary
속성 값
이 스타일의 범위 내에서 사용할 수 있는 리소스입니다.The resources that can be used within the scope of this style.
- 특성
설명
XAML 속성 요소 사용XAML Property Element Usage
<object>
<object.Resources>
oneOrMoreResourceElements
</object.Resources>
</object>
또는-or-
<object>
<object.Resources>
<ResourceDictionary Source="externalDictionarySource"/>
</object.Resources>
</object>
XAML 값XAML Values
oneOrMoreResourceElementsoneOrMoreResourceElements
하나 이상의 리소스 요소입니다.One or more resource elements. 나중에의 StaticResource 태그 확장 또는 DynamicResource 태그 확장 구문에서 참조 하려면 XAMLXAML 리소스 요소에 특성이 있어야 합니다 x:Key
.To be referenced later in either StaticResource Markup Extension or DynamicResource Markup Extension syntax in XAMLXAML, a resource element must have an x:Key
attribute.
<ResourceDictionary Source=" externalDictionarySource"/>
외부 사전 원본입니다.An external dictionary source. 자세한 내용은 병합 된 리소스 사전을 참조 하세요.For details, see Merged Resource Dictionaries.