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
- GPPOINT.cs
- SchemaAttDef.cs
- SmtpTransport.cs
- TemplatePropertyEntry.cs
- AuthenticationModuleElement.cs
- BufferAllocator.cs
- XmlSchemaDocumentation.cs
- HashCryptoHandle.cs
- AutoGeneratedFieldProperties.cs
- WmlControlAdapter.cs
- Geometry.cs
- RowCache.cs
- EtwTrackingParticipant.cs
- DesignerActionVerbItem.cs
- Serializer.cs
- EventLogEntry.cs
- KeyEventArgs.cs
- OverloadGroupAttribute.cs
- Descriptor.cs
- EncoderParameters.cs
- WebServiceErrorEvent.cs
- XmlEnumAttribute.cs
- PageTheme.cs
- SafeNativeMethods.cs
- InternalCache.cs
- ReadOnlyHierarchicalDataSource.cs
- PtsPage.cs
- XmlAnyElementAttributes.cs
- Subtree.cs
- HMACRIPEMD160.cs
- FormViewInsertedEventArgs.cs
- Panel.cs
- ServiceChannelManager.cs
- JsonQueryStringConverter.cs
- RichTextBoxConstants.cs
- RuntimeHandles.cs
- InternalCache.cs
- HtmlInputImage.cs
- WindowsSolidBrush.cs
- DataGridViewCellLinkedList.cs
- BitmapEffectGeneralTransform.cs
- AudioDeviceOut.cs
- StreamResourceInfo.cs
- FrugalMap.cs
- XmlSchemaSimpleType.cs
- FrameworkTextComposition.cs
- DataGridViewIntLinkedList.cs
- LambdaCompiler.Generated.cs
- CmsInterop.cs
- CodeCompiler.cs
- SessionIDManager.cs
- BCLDebug.cs
- ExpressionPrinter.cs
- DataGridTextBox.cs
- MenuStrip.cs
- SqlTransaction.cs
- RoleService.cs
- BadImageFormatException.cs
- PersianCalendar.cs
- _RegBlobWebProxyDataBuilder.cs
- Code.cs
- FilteredReadOnlyMetadataCollection.cs
- MethodImplAttribute.cs
- SqlTrackingService.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ObjectConverter.cs
- ChangePassword.cs
- CancellationScope.cs
- Rotation3D.cs
- MemberPath.cs
- BuildManager.cs
- SqlConnectionFactory.cs
- TimeSpan.cs
- Page.cs
- ConstructorNeedsTagAttribute.cs
- PolicyStatement.cs
- AlphaSortedEnumConverter.cs
- ArrayExtension.cs
- PartBasedPackageProperties.cs
- StorageEndPropertyMapping.cs
- PeerTransportCredentialType.cs
- DoubleAnimationUsingKeyFrames.cs
- RawStylusInputReport.cs
- SmiRecordBuffer.cs
- HttpConfigurationContext.cs
- SoapFault.cs
- VarRemapper.cs
- QuestionEventArgs.cs
- ItemMap.cs
- SchemaTypeEmitter.cs
- BinaryNode.cs
- SourceItem.cs
- ManagementEventWatcher.cs
- TextDecorationCollection.cs
- WhiteSpaceTrimStringConverter.cs
- ConfigurationPermission.cs
- GridViewHeaderRowPresenter.cs
- CriticalFileToken.cs
- Msmq.cs
- WinEventQueueItem.cs