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
- Drawing.cs
- RealizationDrawingContextWalker.cs
- GCHandleCookieTable.cs
- SQLStringStorage.cs
- ElementProxy.cs
- IPPacketInformation.cs
- UnsafeNativeMethods.cs
- ScaleTransform3D.cs
- ToolStripStatusLabel.cs
- CodeConditionStatement.cs
- BitmapEffectInput.cs
- Int32AnimationBase.cs
- TimeSpanOrInfiniteConverter.cs
- UIElement3DAutomationPeer.cs
- TextEffect.cs
- TdsParserSafeHandles.cs
- DependencyPropertyConverter.cs
- BaseDataBoundControlDesigner.cs
- HitTestFilterBehavior.cs
- RootAction.cs
- DataBindingsDialog.cs
- DataGridViewHeaderCell.cs
- ParallelEnumerableWrapper.cs
- SerializationTrace.cs
- PersistenceTypeAttribute.cs
- WorkflowApplication.cs
- HtmlEncodedRawTextWriter.cs
- FuncTypeConverter.cs
- SynchronizedDispatch.cs
- HotCommands.cs
- InvalidFilterCriteriaException.cs
- ObjectView.cs
- StructuredProperty.cs
- SHA384CryptoServiceProvider.cs
- DocumentSequence.cs
- MarshalByRefObject.cs
- PolyLineSegment.cs
- XmlBaseReader.cs
- ISAPIRuntime.cs
- DataControlPagerLinkButton.cs
- Events.cs
- CqlParserHelpers.cs
- BackgroundFormatInfo.cs
- TypeNameParser.cs
- MobileControlsSectionHelper.cs
- SharedDp.cs
- KeyConverter.cs
- TrustSection.cs
- CanonicalFontFamilyReference.cs
- DataFieldCollectionEditor.cs
- MethodBuilder.cs
- StructuredProperty.cs
- PropertyPath.cs
- WindowPatternIdentifiers.cs
- PrivilegedConfigurationManager.cs
- UnmanagedMarshal.cs
- ObjectComplexPropertyMapping.cs
- TableCell.cs
- HashHelper.cs
- RowUpdatedEventArgs.cs
- TagPrefixCollection.cs
- FormViewInsertEventArgs.cs
- SEHException.cs
- sqlser.cs
- ModuleConfigurationInfo.cs
- SeekableMessageNavigator.cs
- ApplicationCommands.cs
- QilStrConcatenator.cs
- DataBoundControl.cs
- Triangle.cs
- ReverseInheritProperty.cs
- HyperLinkField.cs
- CounterCreationDataConverter.cs
- LassoSelectionBehavior.cs
- SafeLibraryHandle.cs
- SerializationFieldInfo.cs
- CounterNameConverter.cs
- ExtensionSimplifierMarkupObject.cs
- MessageQueuePermission.cs
- LayoutEvent.cs
- Double.cs
- RepeatBehavior.cs
- BufferedWebEventProvider.cs
- NavigationProperty.cs
- ModelTypeConverter.cs
- XmlILIndex.cs
- CreateRefExpr.cs
- WebPartZoneBaseDesigner.cs
- DelegatedStream.cs
- XmlResolver.cs
- DocumentViewerHelper.cs
- QilTernary.cs
- TableParaClient.cs
- Messages.cs
- CellTreeNodeVisitors.cs
- Transform3D.cs
- SByte.cs
- SessionStateItemCollection.cs
- SafeViewOfFileHandle.cs
- DataExpression.cs