215 references to LocalizationCategory
PresentationCore (48)
System\Windows\FontStretch.cs (1)
25[Localizability(LocalizationCategory.None)]
System\Windows\FontStyle.cs (1)
20[Localizability(LocalizationCategory.None)]
System\Windows\FontWeight.cs (1)
23[Localizability(LocalizationCategory.None)]
System\Windows\Input\Command\CommandBinding.cs (1)
84[Localizability(LocalizationCategory.NeverLocalize)] // cannot be localized
System\Windows\Input\Command\InputBinding.cs (1)
68[Localizability(LocalizationCategory.NeverLocalize)] // cannot be localized
System\Windows\Input\Cursor.cs (1)
24[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\LocalizabilityAttribute.cs (6)
37public LocalizabilityAttribute(LocalizationCategory category) 39if ( category < LocalizationCategory.None 40|| category > LocalizationCategory.NeverLocalize) 45typeof(LocalizationCategory) 59public LocalizationCategory Category 108private LocalizationCategory _category;
System\Windows\Media\Animation\KeySpline.cs (1)
28[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Media\Animation\Timeline.cs (1)
36[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)] // cannnot be read & localized as string
System\Windows\Media\Brush.cs (1)
39[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Media\Color.cs (1)
28[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\DashStyle.cs (1)
36[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\Drawing.cs (1)
27[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\FontFamily.cs (1)
43[Localizability(LocalizationCategory.Font)]
System\Windows\Media\GeneralTransform.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\GeneralTransformGroup.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\Geometry.cs (1)
37[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\GradientStop.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\ImageSource.cs (1)
33[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\Imaging\BitmapSource.cs (1)
35[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathFigure.cs (1)
34[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathSegment.cs (1)
30[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\PathSegmentCollection.cs (1)
31[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\Pen.cs (1)
31[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media\TextEffect.cs (1)
30[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Media\TextEffectCollection.cs (1)
28[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Media\Transform.cs (1)
34[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Media3D\GeneralTransform3D.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media3D\GeneralTransform3DGroup.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Media3D\Geometry3D.cs (1)
21[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Material.cs (1)
25[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Model3D.cs (1)
28[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Media3D\Transform3D.cs (1)
27[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)
51[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 81[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 202[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 233[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\TextDecoration.cs (1)
22[Localizability(LocalizationCategory.None)]
System\Windows\TextDecorationCollection.cs (1)
27[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\UIElement.cs (2)
2694[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 2983[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\UIElement3D.cs (1)
683[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
PresentationFramework (166)
MS\Internal\Globalization\BamlTreeMap.cs (1)
567LocalizabilityAttribute attribute = new LocalizabilityAttribute(LocalizationCategory.Inherit);
MS\Internal\Globalization\BamlTreeNode.cs (5)
399LocalizabilityAttribute defaultAttribute = new LocalizabilityAttribute(LocalizationCategory.None); 567Debug.Assert(value.Category != LocalizationCategory.Ignore && value.Category != LocalizationCategory.Inherit); 701Debug.Assert(value.Category != LocalizationCategory.Ignore && value.Category != LocalizationCategory.Inherit);
MS\Internal\Globalization\LocalizableResourceBuilder.cs (21)
115if (localizability.Category != LocalizationCategory.NeverLocalize 116&& localizability.Category != LocalizationCategory.Ignore 238&& attribute.Category != LocalizationCategory.NeverLocalize 239&& attribute.Category != LocalizationCategory.Ignore 413if (localizabilityFromSource.Category != LocalizationCategory.Ignore 414&& localizabilityFromSource.Category != LocalizationCategory.Inherit 452if (localizabilityFromSource.Category == LocalizationCategory.Ignore) 471if (localizabilityFromSource.Category == LocalizationCategory.Inherit 506if (parent.IsIgnored && localizabilityFromSource.Category == LocalizationCategory.Inherit) 537LocalizationCategory category = 538(source.Category == LocalizationCategory.Inherit) ? 589LocalizationCategory category = LocalizationCategory.None; 591if (first.Category == LocalizationCategory.NeverLocalize 592|| second.Category == LocalizationCategory.NeverLocalize) 594category = LocalizationCategory.NeverLocalize; 596else if (first.Category == LocalizationCategory.Ignore 597|| second.Category == LocalizationCategory.Ignore) 599category = LocalizationCategory.Ignore; 603category = (first.Category != LocalizationCategory.None) ? 619private readonly LocalizabilityAttribute LocalizabilityIgnore = new LocalizabilityAttribute(LocalizationCategory.Ignore);
MS\Internal\Globalization\LocalizationComments.cs (4)
271attributeGroup.Category = (LocalizationCategory)enumValue; 408internal LocalizationCategory Category; 414Category = (LocalizationCategory)InvalidValue; 423LocalizationCategory category = attribute.Category;
System\Windows\Controls\AccessText.cs (2)
161LocalizationCategory.Font, 225[Localizability(LocalizationCategory.None)]
System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (1)
16[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\BooleanToVisibilityConverter.cs (1)
22[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\CheckBox.cs (1)
32[Localizability(LocalizationCategory.CheckBox)]
System\Windows\Controls\ComboBox.cs (1)
36[Localizability(LocalizationCategory.ComboBox)]
System\Windows\Controls\ComboBoxItem.cs (1)
26[Localizability(LocalizationCategory.ComboBox)]
System\Windows\Controls\ContentControl.cs (1)
34[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\ContentPresenter.cs (1)
38[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Control.cs (2)
179[Localizability(LocalizationCategory.Font)] 205[Localizability(LocalizationCategory.None)]
System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
16[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\DataGridTextColumn.cs (1)
331[Localizability(LocalizationCategory.None)]
System\Windows\Controls\Decorator.cs (1)
26[Localizability(LocalizationCategory.Ignore, Readability = Readability.Unreadable)]
System\Windows\Controls\DefinitionBase.cs (1)
33[Localizability(LocalizationCategory.Ignore)]
System\Windows\Controls\Expander.cs (1)
46[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\Frame.cs (1)
97[Localizability(LocalizationCategory.Ignore)]
System\Windows\Controls\GridViewColumn.cs (1)
22[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)
29[Localizability(LocalizationCategory.Text)] // can contain localizable text 71[Localizability(LocalizationCategory.Label)]
System\Windows\Controls\HeaderedItemsControl.cs (1)
29[Localizability(LocalizationCategory.Menu)]
System\Windows\Controls\Image.cs (1)
32[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\ItemCollection.cs (1)
53[Localizability(LocalizationCategory.Ignore)]
System\Windows\Controls\ItemsControl.cs (1)
43[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\ItemsPresenter.cs (1)
24[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\Label.cs (1)
35[Localizability(LocalizationCategory.Label)]
System\Windows\Controls\ListBox.cs (1)
29[Localizability(LocalizationCategory.ListBox)]
System\Windows\Controls\MediaElement.cs (1)
61[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\MenuItem.cs (3)
69[Localizability(LocalizationCategory.Menu)] 397[Localizability(LocalizationCategory.NeverLocalize)] 497[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\Orientation.cs (1)
14[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Page.cs (3)
197[Localizability(LocalizationCategory.Title)] 478LocalizationCategory.Font, 500[Localizability(LocalizationCategory.None)] // FontSize is localizable
System\Windows\Controls\Panel.cs (1)
28[Localizability(LocalizationCategory.Ignore)]
System\Windows\Controls\Primitives\ButtonBase.cs (3)
31[Localizability(LocalizationCategory.Button)] 274[Localizability(LocalizationCategory.NeverLocalize)] 353[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\Primitives\MenuBase.cs (1)
28[Localizability(LocalizationCategory.Menu)]
System\Windows\Controls\Primitives\PlacementMode.cs (1)
13[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Primitives\Popup.cs (1)
52[Localizability(LocalizationCategory.None)]
System\Windows\Controls\Primitives\ScrollBar.cs (1)
42[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\Primitives\Selector.cs (5)
38[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string 260[Localizability(LocalizationCategory.NeverLocalize)] // not localizable 335[Localizability(LocalizationCategory.NeverLocalize)] // not localizable 456[Localizability(LocalizationCategory.NeverLocalize)] // not localizable 701[Localizability(LocalizationCategory.NeverLocalize)] // not localizable
System\Windows\Controls\Primitives\StatusBarItem.cs (1)
17[Localizability(LocalizationCategory.Inherit)]
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
42[Localizability(LocalizationCategory.Text)]
System\Windows\Controls\Primitives\Thumb.cs (1)
35[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Controls\Primitives\TickBar.cs (1)
62[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\Primitives\ToggleButton.cs (1)
141[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Controls\Primitives\Track.cs (1)
33[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // cannot be read & localized as string
System\Windows\Controls\RadioButton.cs (2)
28[Localizability(LocalizationCategory.RadioButton)] 212[Localizability(LocalizationCategory.NeverLocalize)] // cannot be localized
System\Windows\Controls\RichTextBox.cs (1)
30[Localizability(LocalizationCategory.Inherit)]
System\Windows\Controls\ScrollViewer.cs (1)
67[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)
40[Localizability(LocalizationCategory.Ignore)]
System\Windows\Controls\TextBlock.cs (4)
56[Localizability(LocalizationCategory.Text)] 587[Localizability(LocalizationCategory.Text)] 638[Localizability(LocalizationCategory.Font)] 797[Localizability(LocalizationCategory.None)]
System\Windows\Controls\TextBox.cs (3)
36[Localizability(LocalizationCategory.Text)] 678[Localizability(LocalizationCategory.Text)] 739[Localizability(LocalizationCategory.None, Modifiability = Modifiability.Unmodifiable)] // cannot be modified by localizer
System\Windows\Controls\ToolTip.cs (1)
31[Localizability(LocalizationCategory.ToolTip)]
System\Windows\Controls\ViewPort3D.cs (1)
32[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\ControlTemplate.cs (1)
30[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Data\BindingBase.cs (1)
59[Localizability(LocalizationCategory.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\Data\CompositeCollection.cs (1)
34[Localizability(LocalizationCategory.Ignore)]
System\Windows\Data\ObjectDataProvider.cs (1)
54[Localizability(LocalizationCategory.NeverLocalize)] // Not localizable
System\Windows\Data\XmlDataProvider.cs (1)
39[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
25[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\DataTrigger.cs (2)
30[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // Not localizable by-default 58[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\Documents\FlowDocument.cs (6)
62[Localizability(LocalizationCategory.Inherit, Readability = Readability.Unreadable)] 206LocalizationCategory.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)
159[Localizability(LocalizationCategory.NeverLocalize)] 274[Localizability(LocalizationCategory.NeverLocalize)] 381[Localizability(LocalizationCategory.Hyperlink)] 406LocalizationCategory.None,
System\Windows\Documents\TextElement.cs (2)
473LocalizationCategory.Font, 658[Localizability(LocalizationCategory.None)]
System\Windows\FrameworkContentElement.cs (3)
843[Localizability(LocalizationCategory.NeverLocalize)] // cannot be localized 1156[Localizability(LocalizationCategory.NeverLocalize)] 1215[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\FrameworkElement.cs (14)
50[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 78[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 2735[Localizability(LocalizationCategory.NeverLocalize)] 2799[Localizability(LocalizationCategory.NeverLocalize)] 3229[Localizability(LocalizationCategory.NeverLocalize)] 3251[Localizability(LocalizationCategory.NeverLocalize)] 3502[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3528[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3555[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3581[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3607[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3633[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 3691[Localizability(LocalizationCategory.None)] 5894[Localizability(LocalizationCategory.ToolTip)]
System\Windows\FrameworkElementFactory.cs (1)
32[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\FrameworkTemplate.cs (1)
44[Localizability(LocalizationCategory.NeverLocalize)] // All properties on template are not localizable
System\Windows\Input\KeyboardNavigation.cs (3)
213[Localizability(LocalizationCategory.NeverLocalize)] 228[Localizability(LocalizationCategory.NeverLocalize)] 243[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (4)
31LocalizationCategory.None, 44LocalizationCategory category, 154public LocalizationCategory Category 199private LocalizationCategory _category;
System\Windows\Markup\XmlAttributeProperties.cs (1)
182[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\ResourceDictionary.cs (1)
44[Localizability(LocalizationCategory.Ignore)]
System\Windows\Setter.cs (2)
145[Localizability(LocalizationCategory.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default 163[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)
28[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\StaticResourceExtension.cs (1)
30[Localizability(LocalizationCategory.NeverLocalize)] // cannot be localized
System\Windows\Style.cs (2)
36[Localizability(LocalizationCategory.Ignore)] 160[Localizability(LocalizationCategory.NeverLocalize)]
System\Windows\Thickness.cs (1)
20[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System\Windows\Trigger.cs (2)
29[Localizability(LocalizationCategory.None, Modifiability = Modifiability.Unmodifiable, Readability = Readability.Unreadable)] // Not localizable by-default 58[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] // Not localizable by-default
System\Windows\TriggerBase.cs (1)
38[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\TriggerCollection.cs (1)
23[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
System\Windows\Window.cs (4)
49[Localizability(LocalizationCategory.Ignore)] 844[Localizability(LocalizationCategory.Title)] 8060[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] 8086[Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
898[Localizability(LocalizationCategory.NeverLocalize)] // not localizable