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
- Form.cs
- PagedDataSource.cs
- CheckableControlBaseAdapter.cs
- DataGridViewCellStyleConverter.cs
- Interlocked.cs
- TextDecorationLocationValidation.cs
- ApplyHostConfigurationBehavior.cs
- SystemDiagnosticsSection.cs
- DnsEndPoint.cs
- __TransparentProxy.cs
- WindowsSpinner.cs
- ActivationService.cs
- DataSourceGroupCollection.cs
- HttpRequestBase.cs
- SqlPersonalizationProvider.cs
- ToolTip.cs
- FunctionUpdateCommand.cs
- InputReportEventArgs.cs
- OleDbException.cs
- WebConfigurationHost.cs
- CreateUserWizard.cs
- KeyInstance.cs
- ScopeElementCollection.cs
- StreamWriter.cs
- ParserContext.cs
- HtmlControlPersistable.cs
- DesigntimeLicenseContextSerializer.cs
- DecimalSumAggregationOperator.cs
- MemberHolder.cs
- GatewayIPAddressInformationCollection.cs
- PrimitiveCodeDomSerializer.cs
- SoapFormatter.cs
- ToolStripDropDownClosingEventArgs.cs
- ACL.cs
- x509store.cs
- DoubleUtil.cs
- EntityDataSourceWrapper.cs
- WebCodeGenerator.cs
- smtppermission.cs
- FileDetails.cs
- HyperLinkStyle.cs
- recordstatescratchpad.cs
- _SSPIWrapper.cs
- safePerfProviderHandle.cs
- x509store.cs
- ContentPropertyAttribute.cs
- EventToken.cs
- StylusLogic.cs
- XmlAnyElementAttributes.cs
- RoutedUICommand.cs
- CustomWebEventKey.cs
- MailMessageEventArgs.cs
- PrintDialog.cs
- Stacktrace.cs
- ExtractedStateEntry.cs
- AccessorTable.cs
- EventSinkHelperWriter.cs
- DisplayMemberTemplateSelector.cs
- WebPartTransformer.cs
- ServiceSecurityAuditBehavior.cs
- LayoutEvent.cs
- AuthorizationSection.cs
- RemoveStoryboard.cs
- WebConfigurationManager.cs
- RootNamespaceAttribute.cs
- SqlCacheDependencyDatabase.cs
- Code.cs
- KeyGesture.cs
- SecurityContextSecurityTokenAuthenticator.cs
- XmlText.cs
- CircleHotSpot.cs
- SpecialNameAttribute.cs
- QualifierSet.cs
- ProtectedConfiguration.cs
- ServiceNameElementCollection.cs
- PopOutPanel.cs
- Exceptions.cs
- SoapElementAttribute.cs
- HashStream.cs
- TypedCompletedAsyncResult.cs
- CompatibleComparer.cs
- XmlWriter.cs
- ChangeTracker.cs
- InstanceData.cs
- DataSourceControl.cs
- XmlDataCollection.cs
- WrappingXamlSchemaContext.cs
- DataGridAutoFormat.cs
- DateTimePickerDesigner.cs
- EntityUtil.cs
- XmlSchemaSimpleContentRestriction.cs
- PrimitiveType.cs
- PermissionToken.cs
- FrameSecurityDescriptor.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlCharCheckingReader.cs
- DescendantBaseQuery.cs
- COAUTHINFO.cs
- DataGridViewCellFormattingEventArgs.cs
- XmlSchemaType.cs