Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BufferedGraphicsContext.cs
- BlurBitmapEffect.cs
- BuildProviderAppliesToAttribute.cs
- TableLayoutCellPaintEventArgs.cs
- XmlILModule.cs
- ScrollChrome.cs
- BufferBuilder.cs
- SocketInformation.cs
- NetworkInformationException.cs
- AdornedElementPlaceholder.cs
- AutomationProperties.cs
- ViewManager.cs
- XPathNodeHelper.cs
- VectorAnimationBase.cs
- ConfigurationLoader.cs
- DataBindingList.cs
- CommonProperties.cs
- PnrpPeerResolver.cs
- _TransmitFileOverlappedAsyncResult.cs
- EventLog.cs
- TextParaLineResult.cs
- EventLogPermissionHolder.cs
- DateTimePickerDesigner.cs
- IisTraceWebEventProvider.cs
- BinaryObjectReader.cs
- XmlSchemaObject.cs
- ScrollItemPattern.cs
- SqlXml.cs
- TextEmbeddedObject.cs
- EnumValAlphaComparer.cs
- ReturnValue.cs
- MouseButtonEventArgs.cs
- DataGridRelationshipRow.cs
- BoundField.cs
- ParsedAttributeCollection.cs
- CryptoConfig.cs
- ProcessModuleDesigner.cs
- Itemizer.cs
- DataException.cs
- BindingCompleteEventArgs.cs
- TypeReference.cs
- UIElement.cs
- AdornerDecorator.cs
- EmbeddedMailObjectCollectionEditor.cs
- TextMessageEncodingBindingElement.cs
- SpecialNameAttribute.cs
- ScriptRegistrationManager.cs
- Int32RectConverter.cs
- OpenTypeLayoutCache.cs
- ZoneLinkButton.cs
- SystemWebCachingSectionGroup.cs
- HyperlinkAutomationPeer.cs
- PropertyValueUIItem.cs
- Imaging.cs
- GridSplitterAutomationPeer.cs
- FrameworkElement.cs
- AppDomainAttributes.cs
- UIElementPropertyUndoUnit.cs
- PngBitmapEncoder.cs
- RewritingValidator.cs
- UrlMappingsModule.cs
- ToolboxItemAttribute.cs
- RoleManagerEventArgs.cs
- BufferedGraphics.cs
- IisTraceWebEventProvider.cs
- CheckBoxField.cs
- CompoundFileStorageReference.cs
- SqlDataSource.cs
- XmlNamedNodeMap.cs
- XMLSchema.cs
- QilSortKey.cs
- SafeBitVector32.cs
- ParameterModifier.cs
- DynamicPropertyHolder.cs
- ReplyChannelAcceptor.cs
- CryptoHandle.cs
- ResourcePermissionBase.cs
- SamlAuthenticationStatement.cs
- XmlSerializerSection.cs
- SHA512.cs
- _ScatterGatherBuffers.cs
- Crypto.cs
- EventMappingSettings.cs
- TableLayoutRowStyleCollection.cs
- ContainerAction.cs
- ReliableSessionElement.cs
- ColumnMapVisitor.cs
- basecomparevalidator.cs
- FixedDocumentPaginator.cs
- HtmlElementEventArgs.cs
- SelfIssuedAuthProofToken.cs
- EntityDataSourceSelectingEventArgs.cs
- TreeNodeSelectionProcessor.cs
- TextRangeProviderWrapper.cs
- Int32CAMarshaler.cs
- Html32TextWriter.cs
- ClipboardData.cs
- XmlTypeAttribute.cs
- BamlBinaryReader.cs
- TemplateXamlParser.cs