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
- EndOfStreamException.cs
- DragEventArgs.cs
- BrowserDefinitionCollection.cs
- WorkflowTransactionOptions.cs
- HtmlButton.cs
- TypeUtil.cs
- KeyFrames.cs
- TabletCollection.cs
- SqlVersion.cs
- ExternalException.cs
- DESCryptoServiceProvider.cs
- WindowsRichEdit.cs
- ToolStripHighContrastRenderer.cs
- _IPv6Address.cs
- UnsafeNativeMethods.cs
- XmlElement.cs
- Parallel.cs
- Rijndael.cs
- QueryableDataSource.cs
- EntityDataSourceConfigureObjectContext.cs
- XslCompiledTransform.cs
- FacetValues.cs
- RepeatButtonAutomationPeer.cs
- UriSectionReader.cs
- _WebProxyDataBuilder.cs
- WebPartConnectionsConfigureVerb.cs
- ThreadStateException.cs
- TreeViewDesigner.cs
- EFAssociationProvider.cs
- FacetDescriptionElement.cs
- GridViewColumn.cs
- ManifestSignedXml.cs
- Input.cs
- SettingsPropertyWrongTypeException.cs
- GraphicsPath.cs
- InputReportEventArgs.cs
- LoginViewDesigner.cs
- ChoiceConverter.cs
- LocatorBase.cs
- AttributeProviderAttribute.cs
- XhtmlBasicPageAdapter.cs
- NotifyParentPropertyAttribute.cs
- MappedMetaModel.cs
- XmlIncludeAttribute.cs
- ItemMap.cs
- WorkflowDefinitionDispenser.cs
- TextBoxBaseDesigner.cs
- JsonFormatWriterGenerator.cs
- TrackingLocationCollection.cs
- DataBindingCollection.cs
- httpapplicationstate.cs
- ListView.cs
- ValueProviderWrapper.cs
- XmlMtomWriter.cs
- Utilities.cs
- EntityObject.cs
- XpsResource.cs
- SemanticResultValue.cs
- ValidationUtility.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- QueryModel.cs
- DesignerActionHeaderItem.cs
- WorkflowTerminatedException.cs
- SafeRsaProviderHandle.cs
- SimpleModelProvider.cs
- XsltCompileContext.cs
- DataGridSortCommandEventArgs.cs
- SystemGatewayIPAddressInformation.cs
- GroupBox.cs
- ShaderEffect.cs
- PageTheme.cs
- DbConnectionFactory.cs
- HeaderFilter.cs
- ExitEventArgs.cs
- Table.cs
- StrongNamePublicKeyBlob.cs
- OdbcFactory.cs
- MessageSmuggler.cs
- ResXResourceWriter.cs
- Aes.cs
- WorkflowCommandExtensionItem.cs
- EventLogPermissionEntryCollection.cs
- LogicalExpr.cs
- HtmlString.cs
- EdmSchemaError.cs
- Pointer.cs
- InputLanguageCollection.cs
- RTLAwareMessageBox.cs
- InsufficientMemoryException.cs
- IsolatedStoragePermission.cs
- PrintPreviewDialog.cs
- ExpandedProjectionNode.cs
- MatrixAnimationUsingPath.cs
- Parameter.cs
- CommandConverter.cs
- Schema.cs
- HttpProfileBase.cs
- ObjectParameterCollection.cs
- BitmapEffectvisualstate.cs
- SortedSetDebugView.cs