Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / StyleTypedPropertyAttribute.cs / 1305600 / 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
- CacheHelper.cs
- SrgsElement.cs
- OrElse.cs
- CounterSampleCalculator.cs
- SmiXetterAccessMap.cs
- ByteStack.cs
- Triplet.cs
- WebContext.cs
- Cursor.cs
- NotifyInputEventArgs.cs
- PerspectiveCamera.cs
- FlowDocument.cs
- DataGridViewCellStyleConverter.cs
- PropertyTabAttribute.cs
- SystemIPv4InterfaceProperties.cs
- DbModificationCommandTree.cs
- BindingMemberInfo.cs
- SimpleHandlerBuildProvider.cs
- CatalogPart.cs
- ExplicitDiscriminatorMap.cs
- MdiWindowListStrip.cs
- NativeActivityMetadata.cs
- InputElement.cs
- FreezableOperations.cs
- SystemUdpStatistics.cs
- InfoCardBaseException.cs
- reliableinputsessionchannel.cs
- SemanticValue.cs
- CountdownEvent.cs
- SecurityContextTokenValidationException.cs
- GridViewCommandEventArgs.cs
- sortedlist.cs
- NonceCache.cs
- ProfileSettingsCollection.cs
- EdgeModeValidation.cs
- DataGridViewSelectedCellCollection.cs
- XmlDomTextWriter.cs
- Visitors.cs
- SectionInput.cs
- Serializer.cs
- GorillaCodec.cs
- RangeContentEnumerator.cs
- CapabilitiesSection.cs
- DesignerSerializationOptionsAttribute.cs
- SqlInfoMessageEvent.cs
- FileStream.cs
- GeneralTransform3DCollection.cs
- ConfigsHelper.cs
- URIFormatException.cs
- ExceptionHelpers.cs
- TreeWalker.cs
- IOThreadScheduler.cs
- XmlCDATASection.cs
- SeekStoryboard.cs
- ObjectDataSourceView.cs
- FontStretches.cs
- TableLayoutCellPaintEventArgs.cs
- GlyphingCache.cs
- Bits.cs
- PropertyPathWorker.cs
- IriParsingElement.cs
- IMembershipProvider.cs
- HttpProfileBase.cs
- StorageEntityTypeMapping.cs
- GeometryCollection.cs
- _TransmitFileOverlappedAsyncResult.cs
- RuntimeIdentifierPropertyAttribute.cs
- TimeStampChecker.cs
- CodeTypeDeclarationCollection.cs
- Vector3D.cs
- ApplicationException.cs
- SliderAutomationPeer.cs
- CombinedGeometry.cs
- PageCache.cs
- SrgsSubset.cs
- PostBackOptions.cs
- TargetPerspective.cs
- XmlComment.cs
- TextMetrics.cs
- PageContent.cs
- IntPtr.cs
- FontInfo.cs
- ToolStripKeyboardHandlingService.cs
- MachineKeySection.cs
- EncodingNLS.cs
- HttpDictionary.cs
- ControlBuilderAttribute.cs
- XmlnsDefinitionAttribute.cs
- FontNameConverter.cs
- regiisutil.cs
- SqlServices.cs
- WebHttpBindingCollectionElement.cs
- SingleKeyFrameCollection.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ConfigurationValue.cs
- Glyph.cs
- Exception.cs
- XmlDocumentSurrogate.cs
- ToolBarButton.cs
- LayoutInformation.cs