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
- HMACSHA256.cs
- TypeToken.cs
- DataGrid.cs
- TextShapeableCharacters.cs
- PreProcessInputEventArgs.cs
- CachingHintValidation.cs
- TextBoxAutomationPeer.cs
- SpeakProgressEventArgs.cs
- ZipIOLocalFileBlock.cs
- Timer.cs
- CheckBoxField.cs
- ManagementInstaller.cs
- MembershipAdapter.cs
- ClockController.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Span.cs
- AttributeQuery.cs
- MenuItemAutomationPeer.cs
- CollaborationHelperFunctions.cs
- TypeForwardedToAttribute.cs
- MediaPlayer.cs
- UpDownEvent.cs
- DelegatingStream.cs
- BitmapEffectCollection.cs
- PrinterUnitConvert.cs
- StylusLogic.cs
- CompilerResults.cs
- XmlCharCheckingReader.cs
- DelegateCompletionCallbackWrapper.cs
- ComponentCollection.cs
- WebControl.cs
- SQLString.cs
- EventProvider.cs
- DownloadProgressEventArgs.cs
- TypedDataSourceCodeGenerator.cs
- Rule.cs
- Visitors.cs
- ParameterBuilder.cs
- FileUtil.cs
- Variable.cs
- ItemList.cs
- CodeRegionDirective.cs
- MultitargetingHelpers.cs
- DeleteIndexBinder.cs
- AnnotationAuthorChangedEventArgs.cs
- AssemblyResourceLoader.cs
- DataGridColumnHeaderCollection.cs
- PasswordRecovery.cs
- DetailsViewInsertEventArgs.cs
- ItemMap.cs
- WpfPayload.cs
- SafeNativeMethods.cs
- HtmlElementCollection.cs
- QilChoice.cs
- GAC.cs
- DataGridCommandEventArgs.cs
- WpfPayload.cs
- TrackingProfile.cs
- NameValueCollection.cs
- TextFragmentEngine.cs
- BaseCodePageEncoding.cs
- TaskFormBase.cs
- MaskedTextBoxDesigner.cs
- OleDbCommandBuilder.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DoubleCollectionValueSerializer.cs
- Fault.cs
- TextProperties.cs
- SoapInteropTypes.cs
- HttpModuleCollection.cs
- SecUtil.cs
- AnnotationHelper.cs
- cookie.cs
- GPPOINTF.cs
- ProxyHwnd.cs
- SqlInfoMessageEvent.cs
- ImageCodecInfoPrivate.cs
- EngineSiteSapi.cs
- RegexCode.cs
- TabOrder.cs
- HandleCollector.cs
- MSAAWinEventWrap.cs
- ClientSection.cs
- DataViewSettingCollection.cs
- FragmentQueryKB.cs
- mediapermission.cs
- BooleanAnimationBase.cs
- ReaderWriterLock.cs
- SettingsPropertyWrongTypeException.cs
- TimeoutValidationAttribute.cs
- SQLByte.cs
- LayoutInformation.cs
- MenuItem.cs
- EmptyControlCollection.cs
- CodeTypeParameter.cs
- PolicyValidationException.cs
- SessionIDManager.cs
- _NestedMultipleAsyncResult.cs
- LabelLiteral.cs
- ObjectContextServiceProvider.cs