Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Markup / XmlLangPropertyAttribute.cs / 1 / XmlLangPropertyAttribute.cs
//---------------------------------------------------------------------------- // // File: XmlLangPropertyAttribute.cs // // Description: // This attribute is placed on a class to identify it as the place to set // the value of the xml:lang attribute from the XML markup file. // // Example: // [XmlLangProperty("Language")] // public class ExampleFrameworkElement // // Means that when the parser sees: // //// // The parser will set the "Language" property with the value "en-US". // // // Copyright (C) by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Markup { /// /// An attribute that specifies which property the xml:lang value should /// be directed to. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] public sealed class XmlLangPropertyAttribute : Attribute { ////// Creates a new XmlLangPropertyAttribute with the given string /// as the property name. /// public XmlLangPropertyAttribute(string name) { _name = name; } ////// The name of the property that is designated to accept the xml:lang value /// public string Name { get { return _name; } } // The name of the property that is designated to accept the xml:lang value private string _name = null; } } // 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
- KeyPullup.cs
- NumericExpr.cs
- XmlWrappingWriter.cs
- OptimizerPatterns.cs
- TerminatorSinks.cs
- Encoder.cs
- WinFormsComponentEditor.cs
- XmlSerializationReader.cs
- TimeoutValidationAttribute.cs
- ListBox.cs
- Int16AnimationUsingKeyFrames.cs
- OletxCommittableTransaction.cs
- Rule.cs
- DesignerSerializerAttribute.cs
- CompilationRelaxations.cs
- AccessKeyManager.cs
- ClientTarget.cs
- SymbolUsageManager.cs
- ExpressionVisitorHelpers.cs
- SortKey.cs
- TokenizerHelper.cs
- XmlLanguageConverter.cs
- CharAnimationBase.cs
- RecognizedWordUnit.cs
- ClientUtils.cs
- AmbientEnvironment.cs
- InsufficientMemoryException.cs
- WindowsRebar.cs
- AppDomainCompilerProxy.cs
- SignedInfo.cs
- StyleCollectionEditor.cs
- AstTree.cs
- RootBuilder.cs
- PostBackOptions.cs
- TextTrailingWordEllipsis.cs
- httpapplicationstate.cs
- Matrix3D.cs
- Blend.cs
- BaseTreeIterator.cs
- BmpBitmapEncoder.cs
- RecordBuilder.cs
- ListViewGroupItemCollection.cs
- OperationCanceledException.cs
- mil_sdk_version.cs
- FontFamilyIdentifier.cs
- MultiPropertyDescriptorGridEntry.cs
- StateMachine.cs
- TypeForwardedToAttribute.cs
- RunInstallerAttribute.cs
- AssemblyContextControlItem.cs
- UIElementCollection.cs
- ContainerParagraph.cs
- GridEntry.cs
- GroupItemAutomationPeer.cs
- nulltextcontainer.cs
- SqlRowUpdatedEvent.cs
- SqlDataSourceRefreshSchemaForm.cs
- PropertyEmitter.cs
- CorrelationActionMessageFilter.cs
- AutomationIdentifier.cs
- PersistenceProviderFactory.cs
- CancellationHandler.cs
- ModulesEntry.cs
- TagPrefixInfo.cs
- ConnectionPool.cs
- LightweightEntityWrapper.cs
- FrameworkContentElement.cs
- SoapEnumAttribute.cs
- FileClassifier.cs
- ExpressionBuilderCollection.cs
- SchemaNamespaceManager.cs
- WebPartHeaderCloseVerb.cs
- CollectionViewSource.cs
- FilteredAttributeCollection.cs
- XmlBoundElement.cs
- OleDbParameter.cs
- BCLDebug.cs
- DependencyPropertyConverter.cs
- XmlSchemaComplexContentExtension.cs
- ResXFileRef.cs
- CollectionType.cs
- TreeNodeStyleCollection.cs
- RemoveStoryboard.cs
- AttributeEmitter.cs
- EntityException.cs
- Stackframe.cs
- InfoCardKeyedHashAlgorithm.cs
- FilteredXmlReader.cs
- WorkItem.cs
- mongolianshape.cs
- BitmapFrameEncode.cs
- OperandQuery.cs
- LocatorGroup.cs
- QueryCacheKey.cs
- Menu.cs
- CompareInfo.cs
- SqlDataSource.cs
- NullableConverter.cs
- StaticFileHandler.cs
- HtmlShim.cs