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
- UnsafeNativeMethods.cs
- PropertiesTab.cs
- DynamicArgumentDesigner.xaml.cs
- DocumentSequenceHighlightLayer.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- QilCloneVisitor.cs
- DesignerMetadata.cs
- XmlTextEncoder.cs
- XamlToRtfParser.cs
- ArgumentValidation.cs
- LineProperties.cs
- DataGridViewRow.cs
- BamlRecordHelper.cs
- DataGridViewTextBoxCell.cs
- OneOfElement.cs
- CodeSubDirectoriesCollection.cs
- ObjectToIdCache.cs
- Themes.cs
- OpenTypeLayout.cs
- WebPartTransformerCollection.cs
- xdrvalidator.cs
- HttpListenerException.cs
- XPathSelfQuery.cs
- XmlWhitespace.cs
- HttpServerUtilityWrapper.cs
- DiscoveryClientDuplexChannel.cs
- SizeF.cs
- MoveSizeWinEventHandler.cs
- CodeDOMProvider.cs
- TextEffectResolver.cs
- Rectangle.cs
- BrowserCapabilitiesFactory.cs
- DbConnectionFactory.cs
- AsyncResult.cs
- ContainerParaClient.cs
- PropertyEntry.cs
- HashHelper.cs
- CharacterMetrics.cs
- SrgsElement.cs
- BamlWriter.cs
- ButtonChrome.cs
- UiaCoreApi.cs
- LocalValueEnumerator.cs
- NetTcpBindingCollectionElement.cs
- WebControlsSection.cs
- SqlDataSourceQueryConverter.cs
- OneOf.cs
- MouseGesture.cs
- PersonalizablePropertyEntry.cs
- SizeAnimation.cs
- __TransparentProxy.cs
- ValueSerializer.cs
- webbrowsersite.cs
- MdImport.cs
- Pen.cs
- XamlUtilities.cs
- PropertyEmitterBase.cs
- SqlClientMetaDataCollectionNames.cs
- SecureUICommand.cs
- DataListCommandEventArgs.cs
- XmlNodeReader.cs
- QuerySelectOp.cs
- SpnegoTokenAuthenticator.cs
- DbXmlEnabledProviderManifest.cs
- Style.cs
- MatrixAnimationUsingPath.cs
- PointConverter.cs
- AccessorTable.cs
- TextWriter.cs
- SafeWaitHandle.cs
- StaticExtensionConverter.cs
- TemplateLookupAction.cs
- cookiecollection.cs
- FileFormatException.cs
- TextTreeObjectNode.cs
- StringCollection.cs
- DateTimeHelper.cs
- TypeElement.cs
- GraphicsPathIterator.cs
- BitmapDecoder.cs
- OracleBFile.cs
- Intellisense.cs
- XPathNodeHelper.cs
- MouseBinding.cs
- CurrentChangingEventArgs.cs
- coordinator.cs
- SqlTopReducer.cs
- AutomationEvent.cs
- LineServicesCallbacks.cs
- IntSecurity.cs
- WeakEventTable.cs
- CacheMemory.cs
- Thickness.cs
- CharacterMetrics.cs
- Soap.cs
- TranslateTransform.cs
- MouseButton.cs
- SingleConverter.cs
- DefaultHttpHandler.cs
- SHA384CryptoServiceProvider.cs