Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / MS / Internal / CustomCategoryAttribute.cs / 1305600 / CustomCategoryAttribute.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using MS.Internal.PresentationCore; namespace MS.Internal { ////// Allows for localizing custom categories. /// ////// This class could be shared amongst any of the assemblies if desired. /// internal sealed class CustomCategoryAttribute : CategoryAttribute { internal CustomCategoryAttribute() : base() { } internal CustomCategoryAttribute(string category) : base(category) { } protected override string GetLocalizedString(string value) { string s = SR.Get(value); if (s != null) { return s; } else { return value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserNameServiceElement.cs
- MaskedTextProvider.cs
- HostingPreferredMapPath.cs
- GeometryConverter.cs
- FixedTextContainer.cs
- PageCache.cs
- XmlDataImplementation.cs
- ScaleTransform.cs
- MSHTMLHost.cs
- CustomErrorCollection.cs
- RankException.cs
- RtfNavigator.cs
- LinkArea.cs
- ZipIOLocalFileDataDescriptor.cs
- RecognitionEventArgs.cs
- UidManager.cs
- HierarchicalDataSourceControl.cs
- TextBreakpoint.cs
- ReferentialConstraint.cs
- ComboBox.cs
- ConstructorBuilder.cs
- DataViewListener.cs
- StrokeDescriptor.cs
- SharedUtils.cs
- ToolStripContainer.cs
- RootDesignerSerializerAttribute.cs
- CodeChecksumPragma.cs
- ParserExtension.cs
- InputScopeConverter.cs
- SelectionChangedEventArgs.cs
- MatchAllMessageFilter.cs
- GraphicsState.cs
- DoubleLinkListEnumerator.cs
- ObjectPersistData.cs
- RangeValueProviderWrapper.cs
- PropertyGroupDescription.cs
- EdmProperty.cs
- TreeView.cs
- InternalBufferOverflowException.cs
- DrawListViewColumnHeaderEventArgs.cs
- PlaceHolder.cs
- ChangeBlockUndoRecord.cs
- ImageSource.cs
- ItemCheckEvent.cs
- SetterBaseCollection.cs
- CustomAttribute.cs
- FillRuleValidation.cs
- infer.cs
- Win32Interop.cs
- ActiveXSite.cs
- MappingItemCollection.cs
- SolidBrush.cs
- Cursor.cs
- CodeDOMUtility.cs
- SqlTriggerContext.cs
- ProfilePropertySettingsCollection.cs
- TrackingLocationCollection.cs
- InstanceKeyCollisionException.cs
- sqlstateclientmanager.cs
- SQLInt16.cs
- ArgumentException.cs
- Monitor.cs
- PolicyValidationException.cs
- DataKeyCollection.cs
- GlobalProxySelection.cs
- RequiredFieldValidator.cs
- PriorityChain.cs
- WmlPhoneCallAdapter.cs
- ConfigurationSettings.cs
- AsyncInvokeOperation.cs
- Codec.cs
- ConnectionPoolManager.cs
- AnnotationHighlightLayer.cs
- JoinCqlBlock.cs
- RijndaelManagedTransform.cs
- Profiler.cs
- WorkflowLayouts.cs
- ColorConverter.cs
- PathNode.cs
- BindingContext.cs
- TypeResolver.cs
- Stream.cs
- ScrollEvent.cs
- ProfileSettings.cs
- ProbeRequestResponseAsyncResult.cs
- LinqDataSourceView.cs
- HtmlWindowCollection.cs
- QilTargetType.cs
- DiscoveryVersionConverter.cs
- SortQuery.cs
- HostUtils.cs
- PolyQuadraticBezierSegment.cs
- FunctionNode.cs
- RestClientProxyHandler.cs
- NavigationPropertyEmitter.cs
- TextInfo.cs
- ClipboardProcessor.cs
- EdgeProfileValidation.cs
- Variable.cs
- PropertyRef.cs