Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / StyleTypedPropertyAttribute.cs / 1 / StyleTypedPropertyAttribute.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace System.Windows { ////// This attribute is applied to the class and determine the target type which should be used for the properties of type Style. /// The definition inherits to the subclasses or the derived class can redefine the target type for the property already defined in the base class. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class StyleTypedPropertyAttribute : Attribute { ////// Default constructor /// public StyleTypedPropertyAttribute() { } ////// The property name of type Style /// public string Property { get { return _property; } set { _property = value; } } ////// Target type of the Style that should be used for the Property /// public Type StyleTargetType { get { return _styleTargetType; } set { _styleTargetType = value; } } private string _property; private Type _styleTargetType; } } // 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
- GenericXmlSecurityToken.cs
- MetafileHeaderWmf.cs
- SkinIDTypeConverter.cs
- ConstraintEnumerator.cs
- ComponentResourceKey.cs
- Canonicalizers.cs
- DefaultTextStore.cs
- RichListBox.cs
- Utils.cs
- CodeTypeDeclarationCollection.cs
- SoapAttributes.cs
- SpeechRecognitionEngine.cs
- Hex.cs
- BindingContext.cs
- WorkerRequest.cs
- RijndaelManaged.cs
- IImplicitResourceProvider.cs
- Int64AnimationUsingKeyFrames.cs
- AnnotationObservableCollection.cs
- CultureSpecificCharacterBufferRange.cs
- PreDigestedSignedInfo.cs
- ActivationWorker.cs
- Semaphore.cs
- SymDocumentType.cs
- EntityObject.cs
- SelfIssuedTokenFactoryCredential.cs
- Part.cs
- NameValueFileSectionHandler.cs
- Accessible.cs
- IssuedTokenParametersElement.cs
- QuaternionAnimation.cs
- SchemaManager.cs
- TextEffectCollection.cs
- SpecialNameAttribute.cs
- ApplyImportsAction.cs
- Content.cs
- XmlEnumAttribute.cs
- XhtmlBasicImageAdapter.cs
- HandlerBase.cs
- HttpInputStream.cs
- DataTableReaderListener.cs
- TreeViewHitTestInfo.cs
- ZipIOModeEnforcingStream.cs
- CodeBlockBuilder.cs
- WebBrowsableAttribute.cs
- NameSpaceExtractor.cs
- StringInfo.cs
- ScrollViewer.cs
- DecoderReplacementFallback.cs
- SrgsRuleRef.cs
- EventTrigger.cs
- TemplateKeyConverter.cs
- InternalTypeHelper.cs
- SessionStateContainer.cs
- XmlDocumentType.cs
- OperatingSystem.cs
- WebPartRestoreVerb.cs
- CryptoHelper.cs
- ClientRolePrincipal.cs
- Visual3D.cs
- IDispatchConstantAttribute.cs
- TransformCryptoHandle.cs
- TraceContextRecord.cs
- SmiTypedGetterSetter.cs
- DesignTimeSiteMapProvider.cs
- XmlDocumentFragment.cs
- SwitchLevelAttribute.cs
- DeferredTextReference.cs
- CachedPathData.cs
- DataGridViewCellMouseEventArgs.cs
- CommandLibraryHelper.cs
- FontUnit.cs
- PeerResolver.cs
- TextTreePropertyUndoUnit.cs
- CustomError.cs
- CodePageEncoding.cs
- XmlCountingReader.cs
- DotExpr.cs
- DataTableExtensions.cs
- DataGridAutoFormatDialog.cs
- CustomTypeDescriptor.cs
- FileInfo.cs
- InnerItemCollectionView.cs
- SqlProcedureAttribute.cs
- WebPartVerb.cs
- DetailsViewUpdatedEventArgs.cs
- QilInvokeEarlyBound.cs
- ManagementInstaller.cs
- TypeSchema.cs
- DirectoryRedirect.cs
- RegexParser.cs
- ChoiceConverter.cs
- ConfigXmlWhitespace.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ScriptControl.cs
- BindingValueChangedEventArgs.cs
- EventInfo.cs
- JumpList.cs
- MultipleViewPattern.cs
- XmlDomTextWriter.cs