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
- RequiredFieldValidator.cs
- UnmanagedMemoryStream.cs
- CacheMemory.cs
- AdapterDictionary.cs
- RegexBoyerMoore.cs
- SecurityCriticalDataForSet.cs
- RtfToXamlLexer.cs
- ProfessionalColors.cs
- SimpleExpression.cs
- Duration.cs
- DataSet.cs
- ExceptQueryOperator.cs
- RuleSetReference.cs
- FontSizeConverter.cs
- HttpBindingExtension.cs
- SchemaImporterExtensionElement.cs
- FillBehavior.cs
- Process.cs
- CorrelationValidator.cs
- GenericRootAutomationPeer.cs
- Missing.cs
- tooltip.cs
- DesignOnlyAttribute.cs
- PeerNameRecord.cs
- StrokeCollectionConverter.cs
- CollectionsUtil.cs
- MessageSecurityOverHttpElement.cs
- DataGridViewCellEventArgs.cs
- ErrorWrapper.cs
- ExtractedStateEntry.cs
- MetadataCacheItem.cs
- XPathSelfQuery.cs
- SQLString.cs
- DispatcherTimer.cs
- CharacterShapingProperties.cs
- TimelineGroup.cs
- HotSpotCollection.cs
- SqlRowUpdatingEvent.cs
- ReadWriteSpinLock.cs
- AnnotationStore.cs
- UrlParameterReader.cs
- Utils.cs
- TreeViewImageIndexConverter.cs
- PageStatePersister.cs
- AnimationStorage.cs
- SQLDateTime.cs
- filewebrequest.cs
- InternalsVisibleToAttribute.cs
- HtmlTable.cs
- DerivedKeySecurityTokenStub.cs
- FormView.cs
- DataGridViewColumnHeaderCell.cs
- SelectedGridItemChangedEvent.cs
- BitmapCodecInfoInternal.cs
- ServiceContractListItemList.cs
- StaticSiteMapProvider.cs
- MSG.cs
- PartialTrustValidationBehavior.cs
- XComponentModel.cs
- Constant.cs
- AssemblyAssociatedContentFileAttribute.cs
- ExceptionUtil.cs
- SignatureGenerator.cs
- CodeGroup.cs
- DateTimeConverter2.cs
- AncillaryOps.cs
- BamlResourceSerializer.cs
- DBCSCodePageEncoding.cs
- ManagedIStream.cs
- RegistrySecurity.cs
- XmlQualifiedName.cs
- CodeChecksumPragma.cs
- WebResourceAttribute.cs
- XamlGridLengthSerializer.cs
- ExceptionHandler.cs
- StylusPointPropertyInfo.cs
- SafeTimerHandle.cs
- ChannelManagerHelpers.cs
- IncrementalReadDecoders.cs
- TextServicesLoader.cs
- SqlTriggerAttribute.cs
- OneOf.cs
- DefaultBinder.cs
- TraceContextEventArgs.cs
- LogPolicy.cs
- SerializationAttributes.cs
- IPGlobalProperties.cs
- ResXResourceSet.cs
- DelegateHelpers.cs
- GroupLabel.cs
- NestedContainer.cs
- ImageIndexConverter.cs
- ToolboxItemCollection.cs
- C14NUtil.cs
- DocumentPageViewAutomationPeer.cs
- BindingGroup.cs
- HttpClientChannel.cs
- PagedDataSource.cs
- ALinqExpressionVisitor.cs
- InvalidAsynchronousStateException.cs