Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Model / AttachedPropertyInfo.cs / 1305376 / AttachedPropertyInfo.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.Model { using System.Activities.Presentation; public abstract class AttachedPropertyInfo { bool isBrowsable = true; public string PropertyName { get; set; } internal bool IsBrowsable { get { return isBrowsable; } set { this.isBrowsable = value; } } internal abstract void Register(ViewStateAttachedPropertyFeature viewStateAttachedPropertyFeature); } public sealed class AttachedPropertyInfo: AttachedPropertyInfo { public T DefaultValue { get; set; } internal override void Register(ViewStateAttachedPropertyFeature viewStateAttachedPropertyFeature) { viewStateAttachedPropertyFeature.RegisterAttachedProperty (this.PropertyName, this.IsBrowsable, this.DefaultValue); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.Model { using System.Activities.Presentation; public abstract class AttachedPropertyInfo { bool isBrowsable = true; public string PropertyName { get; set; } internal bool IsBrowsable { get { return isBrowsable; } set { this.isBrowsable = value; } } internal abstract void Register(ViewStateAttachedPropertyFeature viewStateAttachedPropertyFeature); } public sealed class AttachedPropertyInfo : AttachedPropertyInfo { public T DefaultValue { get; set; } internal override void Register(ViewStateAttachedPropertyFeature viewStateAttachedPropertyFeature) { viewStateAttachedPropertyFeature.RegisterAttachedProperty (this.PropertyName, this.IsBrowsable, this.DefaultValue); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindingObserver.cs
- XmlMemberMapping.cs
- OleStrCAMarshaler.cs
- _CacheStreams.cs
- TreeView.cs
- OleAutBinder.cs
- ContextMenuService.cs
- NetworkInformationPermission.cs
- EdmRelationshipRoleAttribute.cs
- Executor.cs
- VirtualPathUtility.cs
- DataGridCellClipboardEventArgs.cs
- TextBreakpoint.cs
- DesigntimeLicenseContextSerializer.cs
- EntityUtil.cs
- DesignerVerbCollection.cs
- EntityDataSourceWizardForm.cs
- AppModelKnownContentFactory.cs
- ISAPIWorkerRequest.cs
- TextEffect.cs
- TerminatorSinks.cs
- BoundColumn.cs
- IntellisenseTextBox.designer.cs
- CachedTypeface.cs
- Figure.cs
- _IPv4Address.cs
- RestHandlerFactory.cs
- TextSelection.cs
- ConfigurationLocationCollection.cs
- URLIdentityPermission.cs
- RequestSecurityTokenResponseCollection.cs
- XmlWriterSettings.cs
- TreeSet.cs
- StyleTypedPropertyAttribute.cs
- LookupNode.cs
- Graphics.cs
- CryptoApi.cs
- InputScope.cs
- FormatterServices.cs
- Hash.cs
- Collection.cs
- Win32PrintDialog.cs
- DbParameterHelper.cs
- Task.cs
- EnumCodeDomSerializer.cs
- UrlMappingsModule.cs
- elementinformation.cs
- AppDomainAttributes.cs
- TableLayoutColumnStyleCollection.cs
- CodeIdentifiers.cs
- CodeTypeParameterCollection.cs
- HtmlEmptyTagControlBuilder.cs
- DictionaryBase.cs
- IndentTextWriter.cs
- SystemUdpStatistics.cs
- PathSegment.cs
- StackBuilderSink.cs
- RectAnimationUsingKeyFrames.cs
- WebServicesDescriptionAttribute.cs
- StdRegProviderWrapper.cs
- TraceSection.cs
- Latin1Encoding.cs
- ServiceEndpointAssociationProvider.cs
- RSAPKCS1KeyExchangeFormatter.cs
- X509CertificateTrustedIssuerElementCollection.cs
- ClipboardData.cs
- AccessText.cs
- Int32Animation.cs
- InputLanguageManager.cs
- DependencyObjectValidator.cs
- StringDictionary.cs
- CodeTypeParameter.cs
- ToolBarDesigner.cs
- PeerName.cs
- SBCSCodePageEncoding.cs
- SourceInterpreter.cs
- InstanceLockTracking.cs
- DateTimeUtil.cs
- DynamicMethod.cs
- ActivationProxy.cs
- SymbolDocumentInfo.cs
- Transform3DGroup.cs
- Thread.cs
- CachedPathData.cs
- ValidationSummary.cs
- DataServicePagingProviderWrapper.cs
- UserNameSecurityTokenProvider.cs
- CfgArc.cs
- dbenumerator.cs
- HttpWebRequest.cs
- TypedTableBase.cs
- OdbcConnectionPoolProviderInfo.cs
- ArithmeticLiteral.cs
- PolyBezierSegment.cs
- OutputCacheSettingsSection.cs
- ProtocolsSection.cs
- SlipBehavior.cs
- DurationConverter.cs
- SecurityVersion.cs
- StateFinalizationDesigner.cs