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)
17
[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)
18
[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)
21
[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)
2681
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
2970
[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)
549
LocalizabilityAttribute attribute = new LocalizabilityAttribute(
LocalizationCategory
.Inherit)
MS\Internal\Globalization\BamlTreeNode.cs (5)
397
LocalizabilityAttribute defaultAttribute = new LocalizabilityAttribute(
LocalizationCategory
.None)
569
Debug.Assert(value.Category !=
LocalizationCategory
.Ignore && value.Category !=
LocalizationCategory
.Inherit);
703
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
236
&& attribute.Category !=
LocalizationCategory
.NeverLocalize
237
&& attribute.Category !=
LocalizationCategory
.Ignore
411
if (localizabilityFromSource.Category !=
LocalizationCategory
.Ignore
412
&& localizabilityFromSource.Category !=
LocalizationCategory
.Inherit
450
if (localizabilityFromSource.Category ==
LocalizationCategory
.Ignore)
469
if (localizabilityFromSource.Category ==
LocalizationCategory
.Inherit
504
if (parent.IsIgnored && localizabilityFromSource.Category ==
LocalizationCategory
.Inherit)
535
LocalizationCategory
category =
536
(source.Category ==
LocalizationCategory
.Inherit) ?
589
LocalizationCategory
category =
LocalizationCategory
.None;
591
if (first.Category ==
LocalizationCategory
.NeverLocalize
592
|| second.Category ==
LocalizationCategory
.NeverLocalize)
594
category =
LocalizationCategory
.NeverLocalize;
596
else if (first.Category ==
LocalizationCategory
.Ignore
597
|| second.Category ==
LocalizationCategory
.Ignore)
599
category =
LocalizationCategory
.Ignore;
603
category = (first.Category !=
LocalizationCategory
.None) ?
621
private readonly LocalizabilityAttribute LocalizabilityIgnore = new LocalizabilityAttribute(
LocalizationCategory
.Ignore);
MS\Internal\Globalization\LocalizationComments.cs (4)
263
attributeGroup.Category = (
LocalizationCategory
)enumValue;
400
internal
LocalizationCategory
Category;
406
Category = (
LocalizationCategory
)InvalidValue;
415
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)
183
[Localizability(
LocalizationCategory
.Title)]
458
LocalizationCategory
.Font,
480
[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)
41
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\Primitives\ScrollBar.cs (1)
26
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\Controls\Primitives\Selector.cs (5)
26
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
248
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
323
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
444
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable
689
[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)
129
[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)
44
[Localizability(
LocalizationCategory
.Text)]
575
[Localizability(
LocalizationCategory
.Text)]
626
[Localizability(
LocalizationCategory
.Font)]
785
[Localizability(
LocalizationCategory
.None)]
System\Windows\Controls\TextBox.cs (3)
29
[Localizability(
LocalizationCategory
.Text)]
673
[Localizability(
LocalizationCategory
.Text)]
734
[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)
458
LocalizationCategory
.Font,
643
[Localizability(
LocalizationCategory
.None)]
System\Windows\FrameworkContentElement.cs (3)
824
[Localizability(
LocalizationCategory
.NeverLocalize)] // cannot be localized
1139
[Localizability(
LocalizationCategory
.NeverLocalize)]
1198
[Localizability(
LocalizationCategory
.NeverLocalize)]
System\Windows\FrameworkElement.cs (14)
32
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
60
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
2719
[Localizability(
LocalizationCategory
.NeverLocalize)]
2783
[Localizability(
LocalizationCategory
.NeverLocalize)]
3213
[Localizability(
LocalizationCategory
.NeverLocalize)]
3235
[Localizability(
LocalizationCategory
.NeverLocalize)]
3488
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3514
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3541
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3567
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3593
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3619
[Localizability(
LocalizationCategory
.None, Readability = Readability.Unreadable)]
3677
[Localizability(
LocalizationCategory
.None)]
5888
[Localizability(
LocalizationCategory
.ToolTip)]
System\Windows\FrameworkElementFactory.cs (1)
22
[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)
135
[Localizability(
LocalizationCategory
.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default
153
[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)
17
[Localizability(
LocalizationCategory
.Ignore)]
141
[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)
31
[Localizability(
LocalizationCategory
.Ignore)]
823
[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)
898
[Localizability(
LocalizationCategory
.NeverLocalize)] // not localizable