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
- FilterElement.cs
- EdmRelationshipRoleAttribute.cs
- CategoryAttribute.cs
- SizeChangedEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- TreeNodeMouseHoverEvent.cs
- documentation.cs
- MultiPropertyDescriptorGridEntry.cs
- XsdCachingReader.cs
- HttpRequest.cs
- UIElement3D.cs
- HtmlTableRow.cs
- LinkClickEvent.cs
- TextRunProperties.cs
- ManagedWndProcTracker.cs
- XmlSiteMapProvider.cs
- BuildProviderAppliesToAttribute.cs
- Point3D.cs
- FormCollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- ClientProxyGenerator.cs
- Renderer.cs
- XPathNodeIterator.cs
- HelloOperationCD1AsyncResult.cs
- MimeFormImporter.cs
- MessageAction.cs
- SmiEventStream.cs
- TemplateDefinition.cs
- InstanceDataCollection.cs
- DataGridViewBand.cs
- ViewLoader.cs
- IisTraceListener.cs
- ColorPalette.cs
- UICuesEvent.cs
- ArgumentsParser.cs
- ListSortDescriptionCollection.cs
- RenderingEventArgs.cs
- DbProviderFactoriesConfigurationHandler.cs
- X509CertificateChain.cs
- MediaContextNotificationWindow.cs
- SqlDataSourceCache.cs
- odbcmetadatacolumnnames.cs
- MenuItemStyle.cs
- AxParameterData.cs
- ActiveXHelper.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- FloatAverageAggregationOperator.cs
- DefaultParameterValueAttribute.cs
- ControlEvent.cs
- StringUtil.cs
- PermissionSetEnumerator.cs
- CodeStatement.cs
- RegexRunnerFactory.cs
- PrePostDescendentsWalker.cs
- PageRequestManager.cs
- CodeDomExtensionMethods.cs
- OracleMonthSpan.cs
- GridSplitter.cs
- UnionQueryOperator.cs
- ContentPlaceHolder.cs
- ContextMenuStrip.cs
- SelectionItemProviderWrapper.cs
- securitycriticaldataformultiplegetandset.cs
- Rotation3D.cs
- ClientBuildManager.cs
- QilNode.cs
- TransformPattern.cs
- ContentOperations.cs
- XmlSchemaValidator.cs
- ItemDragEvent.cs
- DeferredReference.cs
- WindowsFormsSynchronizationContext.cs
- ProxyGenerationError.cs
- CryptoKeySecurity.cs
- MethodAccessException.cs
- DocumentViewerConstants.cs
- IncomingWebResponseContext.cs
- _TLSstream.cs
- HttpModulesInstallComponent.cs
- FocusManager.cs
- AssemblyBuilderData.cs
- GatewayIPAddressInformationCollection.cs
- WebConfigurationManager.cs
- SqlLiftWhereClauses.cs
- ButtonStandardAdapter.cs
- ClientSideProviderDescription.cs
- Control.cs
- FileDialogPermission.cs
- APCustomTypeDescriptor.cs
- BuildProviderAppliesToAttribute.cs
- _KerberosClient.cs
- ActivityDesignerLayoutSerializers.cs
- AudioBase.cs
- RequestCachingSection.cs
- HttpCacheParams.cs
- DocumentPage.cs
- SecureConversationDriver.cs
- SpellerStatusTable.cs
- DoubleUtil.cs
- PassportAuthenticationModule.cs