215 references to LocalizationCategory
PresentationCore (48)
System\Windows\FontStretch.cs (1)
21
[Localizability(
LocalizationCategory
.None)]
System\Windows\FontStyle.cs (1)
18
[Localizability(
LocalizationCategory
.None)]
System\Windows\FontWeight.cs (1)
19
[Localizability(
LocalizationCategory
.None)]
System\Windows\Input\Command\CommandBinding.cs (1)
76
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
System\Windows\Input\Command\InputBinding.cs (1)
64
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
System\Windows\Input\Cursor.cs (1)
17
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\LocalizabilityAttribute.cs (6)
36
public LocalizabilityAttribute(
LocalizationCategory
category)
38
if ( category <
LocalizationCategory
.None
39
|| category >
LocalizationCategory
.NeverLocalize)
44
typeof(
LocalizationCategory
)
58
public
LocalizationCategory
Category
107
private
LocalizationCategory
_category;
System\Windows\Media\Animation\KeySpline.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Media\Animation\Timeline.cs (1)
26
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)] // cannnot be read & localized as string
System\Windows\Media\Brush.cs (1)
27
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Media\Color.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\DashStyle.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\Drawing.cs (1)
18
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\FontFamily.cs (1)
24
[Localizability(
LocalizationCategory
.Font)]
System\Windows\Media\GeneralTransform.cs (1)
19
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\GeneralTransformGroup.cs (1)
15
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\Geometry.cs (1)
25
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\GradientStop.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\ImageSource.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\Imaging\BitmapSource.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathFigure.cs (1)
15
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathSegment.cs (1)
15
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathSegmentCollection.cs (1)
17
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\Pen.cs (1)
23
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media\TextEffect.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Media\TextEffectCollection.cs (1)
21
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Media\Transform.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Media3D\GeneralTransform3D.cs (1)
19
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media3D\GeneralTransform3DGroup.cs (1)
15
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Media3D\Geometry3D.cs (1)
19
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Material.cs (1)
21
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Model3D.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Transform3D.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\SizeToContent.cs (1)
12
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\TextAndFontProperties.cs (4)
49
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
79
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
200
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
231
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\TextDecoration.cs (1)
20
[Localizability(
LocalizationCategory
.None)]
System\Windows\TextDecorationCollection.cs (1)
23
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\UIElement.cs (2)
2689
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
2978
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\UIElement3D.cs (1)
668
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
PresentationFramework (166)
MS\Internal\Globalization\BamlTreeMap.cs (1)
562
LocalizabilityAttribute attribute = new LocalizabilityAttribute(
LocalizationCategory
.Inherit);
MS\Internal\Globalization\BamlTreeNode.cs (5)
395
LocalizabilityAttribute defaultAttribute = new LocalizabilityAttribute(
LocalizationCategory
.None);
563
Debug.Assert(value.Category !=
LocalizationCategory
.Ignore && value.Category !=
LocalizationCategory
.Inherit);
697
Debug.Assert(value.Category !=
LocalizationCategory
.Ignore && value.Category !=
LocalizationCategory
.Inherit);
MS\Internal\Globalization\LocalizableResourceBuilder.cs (21)
111
if (localizability.Category !=
LocalizationCategory
.NeverLocalize
112
&& localizability.Category !=
LocalizationCategory
.Ignore
234
&& attribute.Category !=
LocalizationCategory
.NeverLocalize
235
&& attribute.Category !=
LocalizationCategory
.Ignore
409
if (localizabilityFromSource.Category !=
LocalizationCategory
.Ignore
410
&& localizabilityFromSource.Category !=
LocalizationCategory
.Inherit
448
if (localizabilityFromSource.Category ==
LocalizationCategory
.Ignore)
467
if (localizabilityFromSource.Category ==
LocalizationCategory
.Inherit
502
if (parent.IsIgnored && localizabilityFromSource.Category ==
LocalizationCategory
.Inherit)
533
LocalizationCategory
category =
534
(source.Category ==
LocalizationCategory
.Inherit) ?
585
LocalizationCategory
category =
LocalizationCategory
.None;
587
if (first.Category ==
LocalizationCategory
.NeverLocalize
588
|| second.Category ==
LocalizationCategory
.NeverLocalize)
590
category =
LocalizationCategory
.NeverLocalize;
592
else if (first.Category ==
LocalizationCategory
.Ignore
593
|| second.Category ==
LocalizationCategory
.Ignore)
595
category =
LocalizationCategory
.Ignore;
599
category = (first.Category !=
LocalizationCategory
.None) ?
615
private readonly LocalizabilityAttribute LocalizabilityIgnore = new LocalizabilityAttribute(
LocalizationCategory
.Ignore);
MS\Internal\Globalization\LocalizationComments.cs (4)
269
attributeGroup.Category = (
LocalizationCategory
)enumValue;
406
internal
LocalizationCategory
Category;
412
Category = (
LocalizationCategory
)InvalidValue;
421
LocalizationCategory
category = attribute.Category;
System\Windows\Controls\AccessText.cs (2)
159
LocalizationCategory
.Font,
223
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (1)
14
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\BooleanToVisibilityConverter.cs (1)
15
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\CheckBox.cs (1)
24
[Localizability(
LocalizationCategory
.CheckBox)]
System\Windows\Controls\ComboBox.cs (1)
26
[Localizability(
LocalizationCategory
.ComboBox)]
System\Windows\Controls\ComboBoxItem.cs (1)
15
[Localizability(
LocalizationCategory
.ComboBox)]
System\Windows\Controls\ContentControl.cs (1)
25
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\ContentPresenter.cs (1)
29
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Control.cs (2)
170
[Localizability(
LocalizationCategory
.Font)]
196
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
14
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\DataGridTextColumn.cs (1)
328
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\Decorator.cs (1)
21
[Localizability(
LocalizationCategory
.Ignore, Readability = Readability.Unreadable)]
System\Windows\Controls\DefinitionBase.cs (1)
26
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\Expander.cs (1)
42
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\Frame.cs (1)
85
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\GridViewColumn.cs (1)
21
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\GroupBox.cs (1)
17
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\GroupStyle.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\HeaderedContentControl.cs (2)
24
[Localizability(
LocalizationCategory
.Text)] // can contain localizable text
66
[Localizability(
LocalizationCategory
.Label)]
System\Windows\Controls\HeaderedItemsControl.cs (1)
24
[Localizability(
LocalizationCategory
.Menu)]
System\Windows\Controls\Image.cs (1)
24
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\ItemCollection.cs (1)
44
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\ItemsControl.cs (1)
34
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\ItemsPresenter.cs (1)
20
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Label.cs (1)
30
[Localizability(
LocalizationCategory
.Label)]
System\Windows\Controls\ListBox.cs (1)
23
[Localizability(
LocalizationCategory
.ListBox)]
System\Windows\Controls\MediaElement.cs (1)
54
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\MenuItem.cs (3)
59
[Localizability(
LocalizationCategory
.Menu)]
387
[Localizability(
LocalizationCategory
.NeverLocalize)]
487
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Orientation.cs (1)
11
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Page.cs (3)
190
[Localizability(
LocalizationCategory
.Title)]
471
LocalizationCategory
.Font,
493
[Localizability(
LocalizationCategory
.None)] // FontSize is localizable
System\Windows\Controls\Panel.cs (1)
21
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\Primitives\ButtonBase.cs (3)
20
[Localizability(
LocalizationCategory
.Button)]
263
[Localizability(
LocalizationCategory
.NeverLocalize)]
342
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Primitives\MenuBase.cs (1)
19
[Localizability(
LocalizationCategory
.Menu)]
System\Windows\Controls\Primitives\PlacementMode.cs (1)
10
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Primitives\Popup.cs (1)
45
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\Primitives\ScrollBar.cs (1)
26
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Primitives\Selector.cs (5)
29
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
251
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
326
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
447
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
692
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
System\Windows\Controls\Primitives\StatusBarItem.cs (1)
16
[Localizability(
LocalizationCategory
.Inherit)]
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
33
[Localizability(
LocalizationCategory
.Text)]
System\Windows\Controls\Primitives\Thumb.cs (1)
21
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Primitives\TickBar.cs (1)
48
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\Primitives\ToggleButton.cs (1)
132
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Primitives\Track.cs (1)
22
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\RadioButton.cs (2)
20
[Localizability(
LocalizationCategory
.RadioButton)]
204
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
System\Windows\Controls\RichTextBox.cs (1)
26
[Localizability(
LocalizationCategory
.Inherit)]
System\Windows\Controls\ScrollViewer.cs (1)
59
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\Separator.cs (1)
16
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\Slider.cs (1)
29
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Controls\TextBlock.cs (4)
46
[Localizability(
LocalizationCategory
.Text)]
577
[Localizability(
LocalizationCategory
.Text)]
628
[Localizability(
LocalizationCategory
.Font)]
787
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\TextBox.cs (3)
29
[Localizability(
LocalizationCategory
.Text)]
671
[Localizability(
LocalizationCategory
.Text)]
732
[Localizability(
LocalizationCategory
.None, Modifiability = Modifiability.Unmodifiable)] // cannot be modified by localizer
System\Windows\Controls\ToolTip.cs (1)
18
[Localizability(
LocalizationCategory
.ToolTip)]
System\Windows\Controls\ViewPort3D.cs (1)
27
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\ControlTemplate.cs (1)
27
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Data\BindingBase.cs (1)
57
[Localizability(
LocalizationCategory
.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\Data\CompositeCollection.cs (1)
25
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Data\ObjectDataProvider.cs (1)
49
[Localizability(
LocalizationCategory
.NeverLocalize)] // Not localizable
System\Windows\Data\XmlDataProvider.cs (1)
33
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
22
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\DataTrigger.cs (2)
28
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // Not localizable by-default
56
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\Documents\FlowDocument.cs (6)
62
[Localizability(
LocalizationCategory
.Inherit, Readability = Readability.Unreadable)]
206
LocalizationCategory
.Font,
271
[Localizability(
LocalizationCategory
.None)]
411
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
436
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
484
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Documents\Hyperlink.cs (4)
153
[Localizability(
LocalizationCategory
.NeverLocalize)]
268
[Localizability(
LocalizationCategory
.NeverLocalize)]
375
[Localizability(
LocalizationCategory
.Hyperlink)]
400
LocalizationCategory
.None,
System\Windows\Documents\TextElement.cs (2)
472
LocalizationCategory
.Font,
657
[Localizability(
LocalizationCategory
.None)]
System\Windows\FrameworkContentElement.cs (3)
831
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
1144
[Localizability(
LocalizationCategory
.NeverLocalize)]
1203
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\FrameworkElement.cs (14)
39
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
67
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
2724
[Localizability(
LocalizationCategory
.NeverLocalize)]
2788
[Localizability(
LocalizationCategory
.NeverLocalize)]
3218
[Localizability(
LocalizationCategory
.NeverLocalize)]
3240
[Localizability(
LocalizationCategory
.NeverLocalize)]
3491
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3517
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3544
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3570
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3596
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3622
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3680
[Localizability(
LocalizationCategory
.None)]
5883
[Localizability(
LocalizationCategory
.ToolTip)]
System\Windows\FrameworkElementFactory.cs (1)
24
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\FrameworkTemplate.cs (1)
35
[Localizability(
LocalizationCategory
.NeverLocalize)] // All properties on template are not localizable
System\Windows\Input\KeyboardNavigation.cs (3)
203
[Localizability(
LocalizationCategory
.NeverLocalize)]
218
[Localizability(
LocalizationCategory
.NeverLocalize)]
233
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (4)
26
LocalizationCategory
.None,
39
LocalizationCategory
category,
149
public
LocalizationCategory
Category
194
private
LocalizationCategory
_category;
System\Windows\Markup\XmlAttributeProperties.cs (1)
174
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\ResourceDictionary.cs (1)
34
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Setter.cs (2)
144
[Localizability(
LocalizationCategory
.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default
162
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\SetterBase.cs (1)
17
[Localizability(
LocalizationCategory
.Ignore)]
System\Windows\Shapes\Shape.cs (1)
23
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\StaticResourceExtension.cs (1)
22
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
System\Windows\Style.cs (2)
26
[Localizability(
LocalizationCategory
.Ignore)]
150
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Thickness.cs (1)
20
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System\Windows\Trigger.cs (2)
23
[Localizability(
LocalizationCategory
.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default
52
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\TriggerBase.cs (1)
33
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\TriggerCollection.cs (1)
21
[Localizability(
LocalizationCategory
.None, Readability=Readability.Unreadable)]
System\Windows\Window.cs (4)
36
[Localizability(
LocalizationCategory
.Ignore)]
831
[Localizability(
LocalizationCategory
.Title)]
8047
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
8073
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
896
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable