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
- HtmlFormWrapper.cs
- XmlAttributeOverrides.cs
- DbProviderFactoriesConfigurationHandler.cs
- GPRECTF.cs
- SamlAttribute.cs
- PropertyGeneratedEventArgs.cs
- DesignerWithHeader.cs
- WindowsListViewItemCheckBox.cs
- Timer.cs
- GeometryCollection.cs
- SqlDeflator.cs
- FileVersionInfo.cs
- ToolStripPanelRow.cs
- RowCache.cs
- PublisherMembershipCondition.cs
- TextSchema.cs
- ListViewHitTestInfo.cs
- PolyLineSegment.cs
- DataSvcMapFile.cs
- PointConverter.cs
- PropertyGrid.cs
- NativeCppClassAttribute.cs
- OleDbParameterCollection.cs
- RedirectionProxy.cs
- storagemappingitemcollection.viewdictionary.cs
- _IPv6Address.cs
- DynamicField.cs
- ProfileService.cs
- Package.cs
- WorkflowOwnershipException.cs
- StrongNameIdentityPermission.cs
- DiscoveryClientElement.cs
- TemplateAction.cs
- ContentDisposition.cs
- WebFormDesignerActionService.cs
- RegexCapture.cs
- PixelFormat.cs
- _UncName.cs
- DataSourceControlBuilder.cs
- WSFederationHttpSecurityMode.cs
- KnownBoxes.cs
- VariableBinder.cs
- UnsafeNativeMethods.cs
- ScrollViewerAutomationPeer.cs
- ServiceHttpModule.cs
- ValueChangedEventManager.cs
- MetadataProperty.cs
- FocusTracker.cs
- RNGCryptoServiceProvider.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SByte.cs
- ManagedWndProcTracker.cs
- RectValueSerializer.cs
- EllipticalNodeOperations.cs
- SendContent.cs
- MembershipValidatePasswordEventArgs.cs
- BmpBitmapDecoder.cs
- ThaiBuddhistCalendar.cs
- PageAdapter.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- AdornerLayer.cs
- Crypto.cs
- ClassImporter.cs
- ClientProxyGenerator.cs
- BigInt.cs
- AlphaSortedEnumConverter.cs
- NamespaceList.cs
- XpsS0ValidatingLoader.cs
- DragEvent.cs
- Method.cs
- FixedSOMPageConstructor.cs
- XmlSchemaRedefine.cs
- TraceSection.cs
- UserControlAutomationPeer.cs
- SHA384Managed.cs
- Tracer.cs
- ListViewGroup.cs
- Imaging.cs
- ResourceManagerWrapper.cs
- RegexCode.cs
- Nullable.cs
- DriveNotFoundException.cs
- TimeSpanValidator.cs
- ButtonBase.cs
- DirectionalLight.cs
- XPathExpr.cs
- DesignerInterfaces.cs
- HtmlTextArea.cs
- ArgumentElement.cs
- SqlReferenceCollection.cs
- Enum.cs
- FileAuthorizationModule.cs
- datacache.cs
- FileNotFoundException.cs
- KeySplineConverter.cs
- ExeConfigurationFileMap.cs
- StsCommunicationException.cs
- MobileResource.cs
- ZipIOLocalFileDataDescriptor.cs
- BaseTemplateParser.cs