/
BamlLocalizableResource.xml
372 lines (359 loc) · 23.8 KB
/
BamlLocalizableResource.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<Type Name="BamlLocalizableResource" FullName="System.Windows.Markup.Localizer.BamlLocalizableResource">
<TypeSignature Language="C#" Value="public class BamlLocalizableResource" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit BamlLocalizableResource extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Windows.Markup.Localizer.BamlLocalizableResource" />
<TypeSignature Language="VB.NET" Value="Public Class BamlLocalizableResource" />
<TypeSignature Language="F#" Value="type BamlLocalizableResource = class" />
<TypeSignature Language="C++ CLI" Value="public ref class BamlLocalizableResource" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a localizable resource in a BAML stream.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Markup.Localizer.BamlLocalizableResource> class is the value component of the key-value pairs found in a <xref:System.Windows.Markup.Localizer.BamlLocalizationDictionary>.
## Examples
The following example demonstrates how to use a <xref:System.Windows.Markup.Localizer.BamlLocalizableResource>.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Markup.Localizer/BamlLocalizableResource/Overview/GrabBaml.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/GrabBaml/visualbasic/grabbaml.vb" id="Snippet1":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Markup.Localizer.BamlLocalizer" />
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=160016">LocBaml Tool Sample</related>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Markup.Localizer.BamlLocalizableResource" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BamlLocalizableResource ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Markup.Localizer.BamlLocalizableResource.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 BamlLocalizableResource();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Markup.Localizer.BamlLocalizableResource" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BamlLocalizableResource (string content, string comments, System.Windows.LocalizationCategory category, bool modifiable, bool readable);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string content, string comments, valuetype System.Windows.LocalizationCategory category, bool modifiable, bool readable) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Markup.Localizer.BamlLocalizableResource.#ctor(System.String,System.String,System.Windows.LocalizationCategory,System.Boolean,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (content As String, comments As String, category As LocalizationCategory, modifiable As Boolean, readable As Boolean)" />
<MemberSignature Language="F#" Value="new System.Windows.Markup.Localizer.BamlLocalizableResource : string * string * System.Windows.LocalizationCategory * bool * bool -> System.Windows.Markup.Localizer.BamlLocalizableResource" Usage="new System.Windows.Markup.Localizer.BamlLocalizableResource (content, comments, category, modifiable, readable)" />
<MemberSignature Language="C++ CLI" Value="public:
 BamlLocalizableResource(System::String ^ content, System::String ^ comments, System::Windows::LocalizationCategory category, bool modifiable, bool readable);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="content" Type="System.String" />
<Parameter Name="comments" Type="System.String" />
<Parameter Name="category" Type="System.Windows.LocalizationCategory" />
<Parameter Name="modifiable" Type="System.Boolean" />
<Parameter Name="readable" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="content">The localizable value.</param>
<param name="comments">Comments used for localizing.</param>
<param name="category">The string category of the resource.</param>
<param name="modifiable">
<see langword="true" /> if the resource should be modifiable; otherwise, <see langword="false" />.</param>
<param name="readable">
<see langword="true" /> if the resource should be visible for translation purposes because it is potentially readable as text in the UI; otherwise, <see langword="false" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Markup.Localizer.BamlLocalizableResource" /> class, with the specified localizable value, localization comments, resource category, localization lock status, and visibility of the resource.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Category">
<MemberSignature Language="C#" Value="public System.Windows.LocalizationCategory Category { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.LocalizationCategory Category" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.Localizer.BamlLocalizableResource.Category" />
<MemberSignature Language="VB.NET" Value="Public Property Category As LocalizationCategory" />
<MemberSignature Language="F#" Value="member this.Category : System.Windows.LocalizationCategory with get, set" Usage="System.Windows.Markup.Localizer.BamlLocalizableResource.Category" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::LocalizationCategory Category { System::Windows::LocalizationCategory get(); void set(System::Windows::LocalizationCategory value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.LocalizationCategory</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the localization category of a resource.</summary>
<value>The localization category, as a value of the enumeration.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Comments">
<MemberSignature Language="C#" Value="public string Comments { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Comments" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.Localizer.BamlLocalizableResource.Comments" />
<MemberSignature Language="VB.NET" Value="Public Property Comments As String" />
<MemberSignature Language="F#" Value="member this.Comments : string with get, set" Usage="System.Windows.Markup.Localizer.BamlLocalizableResource.Comments" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Comments { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the localization comments associated with a resource.</summary>
<value>The localization comment string.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Localization comments are authored by the developer to provide rules or hints for localizers. The comments are free-form strings that are extracted from BAML or from localization comments files. To attach comments to an element in Extensible Application Markup Language (XAML), use the <xref:System.Windows.Localization.Comments%2A?displayProperty=nameWithType> attached property For more information on this attached property, see [Localization Attributes and Comments](/dotnet/framework/wpf/advanced/localization-attributes-and-comments).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Content">
<MemberSignature Language="C#" Value="public string Content { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Content" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.Localizer.BamlLocalizableResource.Content" />
<MemberSignature Language="VB.NET" Value="Public Property Content As String" />
<MemberSignature Language="F#" Value="member this.Content : string with get, set" Usage="System.Windows.Markup.Localizer.BamlLocalizableResource.Content" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Content { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the localizable content.</summary>
<value>The localizable content string.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Child elements by default are represented as placeholders. The placeholder starts with a "#" character, then the child element's UID, then a ";". For example, "#TextBlock1;#TextBlock2;". Normal "#" and ";" characters inside the content are escaped with a "\\". This applies to the actual "\\" character itself. The removal of child placeholders in content is not allowed, because an element may be referenced in code, which could cause the localized application to fail at run time. However, it is allowed to reorder them in localizations.
Child elements in the content can also be formatted as XML markup to improve readability. To do so, when <xref:System.Windows.Markup.Localizer.BamlLocalizer> queries the <xref:System.Windows.Markup.Localizer.ElementLocalizability> of a desired element, set the <xref:System.Windows.Markup.Localizer.ElementLocalizability.FormattingTag%2A> property to the desired tag name.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object other);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object other) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Markup.Localizer.BamlLocalizableResource.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (other As Object) As Boolean" />
<MemberSignature Language="F#" Value="override this.Equals : obj -> bool" Usage="bamlLocalizableResource.Equals other" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool Equals(System::Object ^ other);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="other" Type="System.Object" />
</Parameters>
<Docs>
<param name="other">The <see cref="T:System.Windows.Markup.Localizer.BamlLocalizableResource" /> object test for equality.</param>
<summary>Determines whether a specified <see cref="T:System.Windows.Markup.Localizer.BamlLocalizableResource" /> object is equal to this object.</summary>
<returns>
<see langword="true" /> if <paramref name="other" /> is equal to this object; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Markup.Localizer.BamlLocalizableResource.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -> int" Usage="bamlLocalizableResource.GetHashCode " />
<MemberSignature Language="C++ CLI" Value="public:
 override int GetHashCode();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an integer hash code representing this instance.</summary>
<returns>An integer hash code.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Modifiable">
<MemberSignature Language="C#" Value="public bool Modifiable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Modifiable" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.Localizer.BamlLocalizableResource.Modifiable" />
<MemberSignature Language="VB.NET" Value="Public Property Modifiable As Boolean" />
<MemberSignature Language="F#" Value="member this.Modifiable : bool with get, set" Usage="System.Windows.Markup.Localizer.BamlLocalizableResource.Modifiable" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool Modifiable { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the localizable resource is modifiable.</summary>
<value>
<see langword="true" /> if the resource is modifiable; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Readable">
<MemberSignature Language="C#" Value="public bool Readable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Readable" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.Localizer.BamlLocalizableResource.Readable" />
<MemberSignature Language="VB.NET" Value="Public Property Readable As Boolean" />
<MemberSignature Language="F#" Value="member this.Readable : bool with get, set" Usage="System.Windows.Markup.Localizer.BamlLocalizableResource.Readable" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool Readable { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets whether the resource is visible for translation.</summary>
<value>
<see langword="true" /> if the resource is visible for translation; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Markup.Localizer.BamlLocalizableResource.Readable%2A> value serves as a recommendation to the localizer about whether the content of the localizable resource can be directly translated as plain strings.
For example, when the string "Red" is used as a UI string, it can be directly translated to another language. In this case the <xref:System.Windows.Markup.Localizer.BamlLocalizableResource.Readable%2A> property should be set to `true`.
When the string "Red" is used as a predefined color value of a <xref:System.Windows.Media.Brush>, it cannot be translated. Therefore the <xref:System.Windows.Markup.Localizer.BamlLocalizableResource.Readable%2A> property should be set to `false`.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>