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
- ExpressionBuilderCollection.cs
- Journaling.cs
- EventLogger.cs
- FixedSOMTableCell.cs
- ScriptServiceAttribute.cs
- OleDbParameterCollection.cs
- StringPropertyBuilder.cs
- Stream.cs
- CompModSwitches.cs
- IsolatedStorageFilePermission.cs
- FlowLayoutSettings.cs
- TableLayoutSettings.cs
- WebPartsSection.cs
- InputScopeConverter.cs
- ExceptionHandler.cs
- PropertyValueChangedEvent.cs
- TextServicesCompartmentEventSink.cs
- CustomCategoryAttribute.cs
- ListItemCollection.cs
- OpenTypeCommon.cs
- WebResourceAttribute.cs
- CachedTypeface.cs
- DoubleAnimationBase.cs
- RunClient.cs
- XmlComplianceUtil.cs
- SQLDecimal.cs
- PeerToPeerException.cs
- ForeignKeyConstraint.cs
- FilterQueryOptionExpression.cs
- SqlDataSource.cs
- HttpException.cs
- documentsequencetextcontainer.cs
- BookmarkScopeManager.cs
- ManifestResourceInfo.cs
- SolidBrush.cs
- StrokeNode.cs
- RankException.cs
- QueryServiceConfigHandle.cs
- DataGridViewSelectedRowCollection.cs
- SqlUtils.cs
- TemplateLookupAction.cs
- SessionIDManager.cs
- WpfSharedBamlSchemaContext.cs
- ScriptDescriptor.cs
- ImageMapEventArgs.cs
- BamlMapTable.cs
- SQLMembershipProvider.cs
- _CommandStream.cs
- DispatcherEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- CharacterMetrics.cs
- PermissionAttributes.cs
- Point3DAnimation.cs
- HtmlShimManager.cs
- ToolStripDropDownMenu.cs
- RegistryPermission.cs
- WebPartUserCapability.cs
- TextEditorCharacters.cs
- Error.cs
- OAVariantLib.cs
- HorizontalAlignConverter.cs
- XamlParser.cs
- Module.cs
- ProfileBuildProvider.cs
- DynamicExpression.cs
- SystemWebExtensionsSectionGroup.cs
- ScriptReferenceEventArgs.cs
- HttpPostProtocolImporter.cs
- SortExpressionBuilder.cs
- Accessible.cs
- Package.cs
- NGCSerializer.cs
- XslCompiledTransform.cs
- XmlSignatureManifest.cs
- CompilationRelaxations.cs
- EDesignUtil.cs
- XPathNodePointer.cs
- CompositeDuplexBindingElementImporter.cs
- ComplexPropertyEntry.cs
- BitConverter.cs
- CriticalHandle.cs
- ConstructorArgumentAttribute.cs
- TextRangeSerialization.cs
- TextModifier.cs
- Matrix3DStack.cs
- _NestedMultipleAsyncResult.cs
- DBSchemaRow.cs
- InputScopeConverter.cs
- ContextStack.cs
- XmlNamespaceMapping.cs
- SqlCaseSimplifier.cs
- DataGridRowClipboardEventArgs.cs
- SqlConnectionHelper.cs
- ListParagraph.cs
- PolyBezierSegment.cs
- ProviderUtil.cs
- RegexTree.cs
- HttpProcessUtility.cs
- SerializationFieldInfo.cs
- GridViewRowEventArgs.cs