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
- CultureInfo.cs
- XMLUtil.cs
- CategoryGridEntry.cs
- WizardPanel.cs
- WebConfigurationHost.cs
- MarshalByRefObject.cs
- SaveFileDialog.cs
- MenuEventArgs.cs
- WebControlToolBoxItem.cs
- UpWmlPageAdapter.cs
- Fonts.cs
- SequentialWorkflowRootDesigner.cs
- ArgIterator.cs
- SqlErrorCollection.cs
- ExpressionBuilderCollection.cs
- DnsEndpointIdentity.cs
- MutableAssemblyCacheEntry.cs
- ConsoleKeyInfo.cs
- Int32RectConverter.cs
- DbMetaDataFactory.cs
- FileLogRecordStream.cs
- DataTransferEventArgs.cs
- MonthCalendar.cs
- CodeTypeReferenceCollection.cs
- WebPartAddingEventArgs.cs
- LineServicesCallbacks.cs
- NativeCppClassAttribute.cs
- Root.cs
- ClientBase.cs
- XmlSubtreeReader.cs
- SHA384Managed.cs
- Ray3DHitTestResult.cs
- Graph.cs
- InputProcessorProfilesLoader.cs
- IdentifierCreationService.cs
- EnvironmentPermission.cs
- TextParaLineResult.cs
- Light.cs
- CreateRefExpr.cs
- WebPartCancelEventArgs.cs
- SqlBulkCopyColumnMapping.cs
- AccessKeyManager.cs
- CompilerWrapper.cs
- PkcsUtils.cs
- PropertyTab.cs
- SqlDataSourceSelectingEventArgs.cs
- TraceListeners.cs
- ListViewSelectEventArgs.cs
- IteratorFilter.cs
- ImageAutomationPeer.cs
- UpdateCompiler.cs
- StaticExtension.cs
- ObjectListSelectEventArgs.cs
- MemberInfoSerializationHolder.cs
- GridViewUpdatedEventArgs.cs
- InkPresenter.cs
- AnonymousIdentificationModule.cs
- RegexMatchCollection.cs
- MembershipPasswordException.cs
- Label.cs
- AttributeCollection.cs
- TraceShell.cs
- TableProvider.cs
- ThousandthOfEmRealPoints.cs
- ValueProviderWrapper.cs
- InvalidProgramException.cs
- OperationAbortedException.cs
- SQLBytes.cs
- ItemsPresenter.cs
- DataStorage.cs
- ArcSegment.cs
- BufferModesCollection.cs
- AudioBase.cs
- AutomationAttributeInfo.cs
- ThreadStartException.cs
- AuthenticationService.cs
- DuplexSecurityProtocolFactory.cs
- StretchValidation.cs
- DesignerTransaction.cs
- CustomError.cs
- XamlTypeMapper.cs
- ComponentManagerBroker.cs
- JsonQNameDataContract.cs
- DispatcherEventArgs.cs
- SafeWaitHandle.cs
- TypedReference.cs
- AddInServer.cs
- PerformanceCounter.cs
- Control.cs
- HttpConfigurationSystem.cs
- ThreadInterruptedException.cs
- SHA384Managed.cs
- DataGridViewSelectedRowCollection.cs
- fixedPageContentExtractor.cs
- PartialTrustValidationBehavior.cs
- Exceptions.cs
- Identity.cs
- PassportPrincipal.cs
- ParallelDesigner.cs
- ButtonBase.cs