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
- HwndKeyboardInputProvider.cs
- TableLayoutSettings.cs
- BCLDebug.cs
- RowParagraph.cs
- Relationship.cs
- TracingConnection.cs
- ChannelAcceptor.cs
- ClientSession.cs
- TaskFormBase.cs
- NullableBoolConverter.cs
- MessageQueue.cs
- InvalidAsynchronousStateException.cs
- IdleTimeoutMonitor.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StreamUpdate.cs
- TextSimpleMarkerProperties.cs
- MouseCaptureWithinProperty.cs
- DBPropSet.cs
- OracleConnectionStringBuilder.cs
- ObjectIDGenerator.cs
- IPipelineRuntime.cs
- GridLength.cs
- BrushMappingModeValidation.cs
- TextTreeNode.cs
- ICollection.cs
- ConfigurationSection.cs
- IncomingWebRequestContext.cs
- ClientTargetSection.cs
- CreateParams.cs
- RectAnimationBase.cs
- SystemGatewayIPAddressInformation.cs
- MsmqIntegrationBindingCollectionElement.cs
- UIElementHelper.cs
- AttributeData.cs
- PngBitmapDecoder.cs
- XamlGridLengthSerializer.cs
- xsdvalidator.cs
- Int64Storage.cs
- QilValidationVisitor.cs
- FormsAuthenticationUser.cs
- ISAPIRuntime.cs
- BinaryConverter.cs
- PriorityRange.cs
- PagerSettings.cs
- ConfigurationValidatorAttribute.cs
- TypeNameHelper.cs
- QueryOperationResponseOfT.cs
- EmbossBitmapEffect.cs
- OdbcHandle.cs
- MiniCustomAttributeInfo.cs
- RuntimeArgumentHandle.cs
- WebEventTraceProvider.cs
- TimelineGroup.cs
- CodeCompileUnit.cs
- TraceContextRecord.cs
- GenericsInstances.cs
- FlagsAttribute.cs
- XmlConvert.cs
- AdjustableArrowCap.cs
- ComNativeDescriptor.cs
- GatewayDefinition.cs
- Propagator.Evaluator.cs
- SmtpFailedRecipientsException.cs
- HTTPNotFoundHandler.cs
- CacheForPrimitiveTypes.cs
- ObjectResult.cs
- EntityKey.cs
- TraceUtils.cs
- SettingsPropertyValueCollection.cs
- SecurityContextTokenCache.cs
- TextCompositionManager.cs
- DbDataReader.cs
- RectangleConverter.cs
- SendKeys.cs
- TableParaClient.cs
- path.cs
- SoapProtocolReflector.cs
- RowCache.cs
- GeometryHitTestResult.cs
- SizeLimitedCache.cs
- _LazyAsyncResult.cs
- DiagnosticsConfigurationHandler.cs
- EmptyStringExpandableObjectConverter.cs
- EventProviderClassic.cs
- Models.cs
- FrameworkPropertyMetadata.cs
- Vector3DCollection.cs
- NumericUpDownAccelerationCollection.cs
- FormCollection.cs
- ContourSegment.cs
- SiteMapHierarchicalDataSourceView.cs
- DataGridViewEditingControlShowingEventArgs.cs
- DataBindingHandlerAttribute.cs
- ValueUtilsSmi.cs
- VectorCollectionValueSerializer.cs
- Util.cs
- XamlSerializerUtil.cs
- HtmlInputHidden.cs
- ContextTokenTypeConverter.cs
- CacheVirtualItemsEvent.cs