Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ComplexPropertyEntry.cs / 1 / ComplexPropertyEntry.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MergePropertyDescriptor.cs
- TextRange.cs
- ManagementObjectCollection.cs
- WorkflowServiceHostFactory.cs
- PagerStyle.cs
- DefaultProxySection.cs
- ReadOnlyHierarchicalDataSource.cs
- DataGridItemEventArgs.cs
- ToolboxItemAttribute.cs
- ProcessModelInfo.cs
- XmlSchemaSequence.cs
- BitmapVisualManager.cs
- InvokeProviderWrapper.cs
- StatusBarDesigner.cs
- PeerName.cs
- GenericArgumentsUpdater.cs
- WindowsGraphics2.cs
- SatelliteContractVersionAttribute.cs
- CompositeFontFamily.cs
- RefreshEventArgs.cs
- IPGlobalProperties.cs
- WebPart.cs
- InternalControlCollection.cs
- FloaterParaClient.cs
- BindingMAnagerBase.cs
- CommonBehaviorsSection.cs
- WeakReference.cs
- DPCustomTypeDescriptor.cs
- ToolStripGripRenderEventArgs.cs
- XmlTextReaderImplHelpers.cs
- HandleRef.cs
- DecimalConstantAttribute.cs
- AssemblyResourceLoader.cs
- BindingContext.cs
- PlatformCulture.cs
- EncoderBestFitFallback.cs
- XPathDocumentNavigator.cs
- BindingSource.cs
- RegexCode.cs
- SchemaDeclBase.cs
- SessionEndedEventArgs.cs
- COM2PropertyDescriptor.cs
- DESCryptoServiceProvider.cs
- EdgeProfileValidation.cs
- XmlQueryStaticData.cs
- DocumentReferenceCollection.cs
- StrongNamePublicKeyBlob.cs
- CaseInsensitiveComparer.cs
- TextBoxDesigner.cs
- QilTargetType.cs
- CqlIdentifiers.cs
- PageContentAsyncResult.cs
- DataService.cs
- OdbcConnectionPoolProviderInfo.cs
- ContainerVisual.cs
- ToolStripSplitButton.cs
- SafeFileHandle.cs
- Padding.cs
- BindingRestrictions.cs
- RowTypePropertyElement.cs
- MethodToken.cs
- KeyboardEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- AuthorizationContext.cs
- ComPlusSynchronizationContext.cs
- ProgressiveCrcCalculatingStream.cs
- RemoteWebConfigurationHost.cs
- AutomationAttributeInfo.cs
- IdentityModelDictionary.cs
- CodeAssignStatement.cs
- DependencyObjectValidator.cs
- StateManagedCollection.cs
- XamlSerializationHelper.cs
- UnitySerializationHolder.cs
- CLRBindingWorker.cs
- RequestTimeoutManager.cs
- HttpFileCollection.cs
- TraceSection.cs
- CommandID.cs
- RadioButtonBaseAdapter.cs
- Int32Storage.cs
- EnumerableRowCollectionExtensions.cs
- XmlSchemaObject.cs
- DiscoveryReferences.cs
- SpanIndex.cs
- ByteAnimationUsingKeyFrames.cs
- TableLayoutRowStyleCollection.cs
- Bold.cs
- ToolStrip.cs
- StringAnimationBase.cs
- CommentEmitter.cs
- NullExtension.cs
- RightsManagementPermission.cs
- graph.cs
- MoveSizeWinEventHandler.cs
- DesignerWebPartChrome.cs
- MultilineStringConverter.cs
- Validator.cs
- EmptyEnumerator.cs
- SmtpClient.cs