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
- UnmanagedBitmapWrapper.cs
- SkipQueryOptionExpression.cs
- SettingsPropertyIsReadOnlyException.cs
- LinearKeyFrames.cs
- TimeSpanParse.cs
- Error.cs
- PresentationUIStyleResources.cs
- TextEditorTables.cs
- FormClosedEvent.cs
- SmiEventSink.cs
- IgnorePropertiesAttribute.cs
- TextEditorThreadLocalStore.cs
- SafeNativeMethods.cs
- DBSchemaRow.cs
- ReadOnlyPropertyMetadata.cs
- XmlSchemaRedefine.cs
- EntityProviderFactory.cs
- RuntimeHelpers.cs
- WebSysDefaultValueAttribute.cs
- SelectionItemPattern.cs
- DictationGrammar.cs
- CalendarTable.cs
- XsdDateTime.cs
- Type.cs
- HierarchicalDataTemplate.cs
- CommentEmitter.cs
- EventMappingSettings.cs
- ButtonField.cs
- ControlValuePropertyAttribute.cs
- DesignerActionMethodItem.cs
- AutomationPatternInfo.cs
- DBCSCodePageEncoding.cs
- MultipartIdentifier.cs
- XPathEmptyIterator.cs
- RefreshEventArgs.cs
- ChangeBlockUndoRecord.cs
- EntityDataSourceState.cs
- StateWorkerRequest.cs
- DataExpression.cs
- ProcessManager.cs
- Compiler.cs
- DependentList.cs
- localization.cs
- ProjectionCamera.cs
- SqlTriggerContext.cs
- Descriptor.cs
- SoapSchemaMember.cs
- MultipleViewProviderWrapper.cs
- ServiceHostingEnvironment.cs
- RenderCapability.cs
- KeyedHashAlgorithm.cs
- _emptywebproxy.cs
- Line.cs
- validation.cs
- XPathMultyIterator.cs
- RightsManagementEncryptionTransform.cs
- DesignTable.cs
- InstanceBehavior.cs
- HyperLinkStyle.cs
- TraceData.cs
- SetStateEventArgs.cs
- EventRoute.cs
- SortedList.cs
- DataContractSerializerOperationGenerator.cs
- DataGrid.cs
- ObjectSecurity.cs
- DataGridTable.cs
- DelimitedListTraceListener.cs
- ScriptControl.cs
- DataMemberConverter.cs
- ProcessThread.cs
- ClientSponsor.cs
- HelpProvider.cs
- OdbcStatementHandle.cs
- SchemaComplexType.cs
- Timer.cs
- PropertyCollection.cs
- StreamHelper.cs
- ProfileInfo.cs
- LocalizationCodeDomSerializer.cs
- CompilerInfo.cs
- LZCodec.cs
- DataGridViewMethods.cs
- SvcMapFileSerializer.cs
- PageWrapper.cs
- Rotation3D.cs
- StorageSetMapping.cs
- TargetException.cs
- TypeHelpers.cs
- XPathConvert.cs
- _IPv4Address.cs
- MultipartContentParser.cs
- StickyNoteHelper.cs
- DataGridViewCellLinkedList.cs
- ChangeConflicts.cs
- Int32CollectionConverter.cs
- cookiecontainer.cs
- SizeAnimationBase.cs
- BamlResourceContent.cs
- ToggleButtonAutomationPeer.cs