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
- EncoderFallback.cs
- keycontainerpermission.cs
- ServiceSettingsResponseInfo.cs
- SQLInt32Storage.cs
- RawAppCommandInputReport.cs
- FormatVersion.cs
- DataGridViewToolTip.cs
- ItemsPanelTemplate.cs
- SurrogateSelector.cs
- Material.cs
- listitem.cs
- ColorMap.cs
- ClientUtils.cs
- CFStream.cs
- ObjectManager.cs
- InvalidPipelineStoreException.cs
- StateItem.cs
- InternalBufferOverflowException.cs
- ProfileService.cs
- Point3DAnimationUsingKeyFrames.cs
- ExtensibleClassFactory.cs
- SearchForVirtualItemEventArgs.cs
- ListViewGroup.cs
- InheritanceContextChangedEventManager.cs
- ContextMarshalException.cs
- RowSpanVector.cs
- SkipStoryboardToFill.cs
- ItemDragEvent.cs
- XslAst.cs
- SQlBooleanStorage.cs
- ListViewAutomationPeer.cs
- MsmqInputChannelListener.cs
- SpeechUI.cs
- Drawing.cs
- SimpleWorkerRequest.cs
- InitializerFacet.cs
- PointConverter.cs
- InputLangChangeRequestEvent.cs
- ContextMenuAutomationPeer.cs
- XmlJsonWriter.cs
- EventHandlersStore.cs
- StorageComplexPropertyMapping.cs
- BoolLiteral.cs
- HttpContext.cs
- WindowsTokenRoleProvider.cs
- OleServicesContext.cs
- FileDialogPermission.cs
- VarInfo.cs
- WebHttpElement.cs
- MappingException.cs
- EventlogProvider.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ModelItemDictionary.cs
- RIPEMD160Managed.cs
- BinaryFormatter.cs
- DataGridTablesFactory.cs
- MethodRental.cs
- PartialList.cs
- ConfigXmlSignificantWhitespace.cs
- HandlerMappingMemo.cs
- CounterCreationDataCollection.cs
- PreProcessInputEventArgs.cs
- CompilerHelpers.cs
- InstanceData.cs
- GregorianCalendar.cs
- EditorZone.cs
- PasswordRecovery.cs
- SubMenuStyle.cs
- GridViewHeaderRowPresenter.cs
- PathParser.cs
- MatrixTransform3D.cs
- HwndSourceParameters.cs
- translator.cs
- PhysicalOps.cs
- SmtpMail.cs
- EastAsianLunisolarCalendar.cs
- mansign.cs
- TransformedBitmap.cs
- DesignDataSource.cs
- MessageHeaderDescription.cs
- TcpClientChannel.cs
- TemplatedMailWebEventProvider.cs
- ListItemConverter.cs
- Visitor.cs
- PerformanceCounterPermissionEntryCollection.cs
- AdornerLayer.cs
- XmlSchemaType.cs
- ConsoleKeyInfo.cs
- CacheForPrimitiveTypes.cs
- NativeCompoundFileAPIs.cs
- PrintController.cs
- Random.cs
- SamlAuthenticationStatement.cs
- WebPartVerb.cs
- CallSiteOps.cs
- BitmapPalettes.cs
- SerializationSectionGroup.cs
- FormViewUpdatedEventArgs.cs
- DispatcherEventArgs.cs
- XmlAttributeHolder.cs