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
- metadatamappinghashervisitor.hashsourcebuilder.cs
- VisualStyleTypesAndProperties.cs
- AppAction.cs
- RectAnimationBase.cs
- ObjectComplexPropertyMapping.cs
- Deserializer.cs
- ProxyGenerationError.cs
- Sql8ConformanceChecker.cs
- CorePropertiesFilter.cs
- DataViewManager.cs
- SoapEnumAttribute.cs
- XmlWrappingWriter.cs
- HostSecurityManager.cs
- BitmapPalette.cs
- FileLevelControlBuilderAttribute.cs
- PublisherMembershipCondition.cs
- PartialCachingAttribute.cs
- RuntimeVariablesExpression.cs
- DbParameterCollection.cs
- UserMapPath.cs
- MemberRelationshipService.cs
- RowToParametersTransformer.cs
- NotFiniteNumberException.cs
- AuthenticationServiceManager.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- SqlUserDefinedAggregateAttribute.cs
- RuntimeCompatibilityAttribute.cs
- Psha1DerivedKeyGenerator.cs
- XsltInput.cs
- LinkButton.cs
- PriorityRange.cs
- ServicePointManager.cs
- NGCSerializer.cs
- DataTemplateKey.cs
- EDesignUtil.cs
- XMLSyntaxException.cs
- DataServiceQueryOfT.cs
- WindowsContainer.cs
- WebPartCancelEventArgs.cs
- Selection.cs
- XmlSigningNodeWriter.cs
- EntityDataSourceChangedEventArgs.cs
- JavascriptCallbackMessageInspector.cs
- SchemaSetCompiler.cs
- InlineCategoriesDocument.cs
- CompilerTypeWithParams.cs
- LocalBuilder.cs
- Bitmap.cs
- EncryptedType.cs
- SecurityState.cs
- ToolStripComboBox.cs
- DateTimeConstantAttribute.cs
- DocumentSchemaValidator.cs
- DynamicMethod.cs
- MenuEventArgs.cs
- SymDocumentType.cs
- Track.cs
- ReferencedType.cs
- UIElement3DAutomationPeer.cs
- SemanticBasicElement.cs
- CFStream.cs
- ScaleTransform.cs
- InputMethodStateChangeEventArgs.cs
- MatchingStyle.cs
- EvidenceTypeDescriptor.cs
- CSharpCodeProvider.cs
- FacetValues.cs
- DataViewSettingCollection.cs
- Stopwatch.cs
- EmptyStringExpandableObjectConverter.cs
- ColorDialog.cs
- Soap.cs
- IgnoreDeviceFilterElement.cs
- SiteMapNodeItem.cs
- SqlGenerator.cs
- PeerNameResolver.cs
- ListControl.cs
- HttpModulesSection.cs
- ConnectivityStatus.cs
- OdbcUtils.cs
- ProcessModuleCollection.cs
- Roles.cs
- InternalDuplexChannelFactory.cs
- FixedSOMPage.cs
- ContextBase.cs
- ConfigurationLocationCollection.cs
- FontClient.cs
- ImportContext.cs
- ScriptRegistrationManager.cs
- GlobalizationSection.cs
- Profiler.cs
- ViewBox.cs
- DebuggerService.cs
- SafeProcessHandle.cs
- ReaderWriterLock.cs
- LoginView.cs
- ResXBuildProvider.cs
- SchemaImporterExtension.cs
- Pens.cs
- WorkflowPersistenceService.cs