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
- InternalBase.cs
- CriticalFinalizerObject.cs
- PageCanvasSize.cs
- DoubleStorage.cs
- HttpWebRequestElement.cs
- ParameterElement.cs
- HttpAsyncResult.cs
- AccessDataSourceView.cs
- XpsColorContext.cs
- EventDescriptor.cs
- GeometryHitTestResult.cs
- PrivilegeNotHeldException.cs
- ElementsClipboardData.cs
- GPRECTF.cs
- RelatedEnd.cs
- WorkflowViewService.cs
- FileCodeGroup.cs
- SmiEventSink_DeferedProcessing.cs
- ScrollBar.cs
- ActivityTrace.cs
- AtomPub10CategoriesDocumentFormatter.cs
- QueryComponents.cs
- HtmlLink.cs
- LongSumAggregationOperator.cs
- EntityContainerEmitter.cs
- CfgRule.cs
- FreeFormDesigner.cs
- ADMembershipUser.cs
- DataKeyCollection.cs
- ButtonRenderer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- CodeExporter.cs
- CompoundFileStorageReference.cs
- FamilyCollection.cs
- CodeArrayIndexerExpression.cs
- RecordManager.cs
- InfoCardTraceRecord.cs
- SqlDataSourceCustomCommandEditor.cs
- ColorInterpolationModeValidation.cs
- PropertiesTab.cs
- TemplateLookupAction.cs
- COM2Properties.cs
- WebSysDescriptionAttribute.cs
- bidPrivateBase.cs
- EventWaitHandleSecurity.cs
- AutoResetEvent.cs
- ExternalException.cs
- ClientScriptManagerWrapper.cs
- ListMarkerSourceInfo.cs
- SqlUdtInfo.cs
- Vertex.cs
- SQLUtility.cs
- NavigationExpr.cs
- LogExtent.cs
- AuthenticationService.cs
- GetPageCompletedEventArgs.cs
- ReceiveCompletedEventArgs.cs
- FormViewAutoFormat.cs
- _LocalDataStoreMgr.cs
- SmtpNetworkElement.cs
- SqlConnectionPoolProviderInfo.cs
- EmptyControlCollection.cs
- WebPartUserCapability.cs
- SpellerStatusTable.cs
- dataprotectionpermission.cs
- CodeMemberEvent.cs
- MenuItem.cs
- NumberFormatter.cs
- DrawingAttributesDefaultValueFactory.cs
- ToolTipService.cs
- login.cs
- XmlSchemaSimpleTypeUnion.cs
- CodeTypeDelegate.cs
- XmlJsonReader.cs
- TransformConverter.cs
- RowUpdatingEventArgs.cs
- XmlSchemaSimpleContent.cs
- XmlMtomReader.cs
- TableCell.cs
- PasswordTextNavigator.cs
- HMACSHA1.cs
- OracleRowUpdatingEventArgs.cs
- DataObjectCopyingEventArgs.cs
- CombinedTcpChannel.cs
- FileVersionInfo.cs
- SpellerStatusTable.cs
- HuffmanTree.cs
- OrderedEnumerableRowCollection.cs
- Wildcard.cs
- SerializableTypeCodeDomSerializer.cs
- FlatButtonAppearance.cs
- WebPageTraceListener.cs
- SerialStream.cs
- HijriCalendar.cs
- LoginName.cs
- ProtocolsConfigurationHandler.cs
- DatagridviewDisplayedBandsData.cs
- TraversalRequest.cs
- Style.cs
- SessionStateModule.cs