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
- Policy.cs
- TdsParserStaticMethods.cs
- FontDriver.cs
- GlobalEventManager.cs
- DSASignatureFormatter.cs
- SchemaNamespaceManager.cs
- IQueryable.cs
- RotateTransform3D.cs
- SimpleWebHandlerParser.cs
- BlurEffect.cs
- LinqDataSource.cs
- ParallelQuery.cs
- ContainerSelectorGlyph.cs
- MouseWheelEventArgs.cs
- ComplexPropertyEntry.cs
- EventLog.cs
- DbConnectionInternal.cs
- CodeGroup.cs
- XmlBufferReader.cs
- NameScope.cs
- Vertex.cs
- WebPartZoneBase.cs
- NamedPipeProcessProtocolHandler.cs
- PrintControllerWithStatusDialog.cs
- Clipboard.cs
- RoleGroup.cs
- KnownColorTable.cs
- CommandEventArgs.cs
- ProcessModelSection.cs
- SiteMapPathDesigner.cs
- NativeRightsManagementAPIsStructures.cs
- AsyncCodeActivityContext.cs
- InvalidOleVariantTypeException.cs
- HttpListenerException.cs
- MatrixStack.cs
- FlowPosition.cs
- DependencyPropertyDescriptor.cs
- Queue.cs
- WebPartConnectionsCancelVerb.cs
- IOException.cs
- XmlSerializerFactory.cs
- Overlapped.cs
- TextRangeBase.cs
- ListControlDataBindingHandler.cs
- entitydatasourceentitysetnameconverter.cs
- UnsafeNativeMethodsCLR.cs
- FlowLayoutPanel.cs
- DesignerTransactionCloseEvent.cs
- MultiPropertyDescriptorGridEntry.cs
- XmlUnspecifiedAttribute.cs
- CompensationExtension.cs
- MulticastDelegate.cs
- EventHandlerService.cs
- BehaviorDragDropEventArgs.cs
- DrawingCollection.cs
- TryLoadRunnableWorkflowCommand.cs
- SafeReadContext.cs
- WebContext.cs
- ClockController.cs
- ListViewInsertEventArgs.cs
- OdbcTransaction.cs
- UnionExpr.cs
- QueueException.cs
- ExchangeUtilities.cs
- IisTraceWebEventProvider.cs
- XmlSchemaInferenceException.cs
- HorizontalAlignConverter.cs
- SystemKeyConverter.cs
- Misc.cs
- WebPartConnectionsDisconnectVerb.cs
- Expr.cs
- ServiceReference.cs
- DataServiceEntityAttribute.cs
- TraceSection.cs
- LayoutInformation.cs
- CriticalFinalizerObject.cs
- DocumentPage.cs
- ArrayMergeHelper.cs
- ProfileParameter.cs
- UiaCoreApi.cs
- FunctionMappingTranslator.cs
- SimpleHandlerBuildProvider.cs
- ParameterModifier.cs
- ObjectViewQueryResultData.cs
- DoubleConverter.cs
- DoubleUtil.cs
- WebPartManagerDesigner.cs
- SendKeys.cs
- NumberEdit.cs
- DbProviderServices.cs
- RolePrincipal.cs
- DataGridViewCellConverter.cs
- Bind.cs
- BuildDependencySet.cs
- ComponentDispatcherThread.cs
- CompositeControlDesigner.cs
- WebServiceEnumData.cs
- SQLBoolean.cs
- SectionInformation.cs
- GenericUriParser.cs