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
- QueryContinueDragEventArgs.cs
- KeysConverter.cs
- GcSettings.cs
- OutputCacheSection.cs
- TraceInternal.cs
- SqlBulkCopyColumnMapping.cs
- TracePayload.cs
- RelationshipEnd.cs
- OdbcFactory.cs
- UrlParameterWriter.cs
- CodeTryCatchFinallyStatement.cs
- ApplicationException.cs
- Vector3DAnimationUsingKeyFrames.cs
- DrawingGroup.cs
- GifBitmapEncoder.cs
- RawUIStateInputReport.cs
- StorageEntityContainerMapping.cs
- ActivityStateRecord.cs
- KnownBoxes.cs
- WebPartDisplayMode.cs
- ProxyWebPartManagerDesigner.cs
- HtmlCommandAdapter.cs
- MoveSizeWinEventHandler.cs
- TextCompositionEventArgs.cs
- FontFamilyIdentifier.cs
- SelectionItemProviderWrapper.cs
- CodeCastExpression.cs
- EditingScope.cs
- SiteMapPath.cs
- ServiceInstanceProvider.cs
- AnimationLayer.cs
- MethodBuilder.cs
- AnnotationResource.cs
- XmlChoiceIdentifierAttribute.cs
- PagesSection.cs
- KeyNotFoundException.cs
- DataGridDesigner.cs
- RecognizerBase.cs
- CopyAction.cs
- StateMachineWorkflow.cs
- FontCacheUtil.cs
- DictionarySurrogate.cs
- NullableDoubleSumAggregationOperator.cs
- FieldCollectionEditor.cs
- CommandBindingCollection.cs
- ToolStripDropDownMenu.cs
- WebPartCatalogAddVerb.cs
- SafeNativeMethodsOther.cs
- TransactionBehavior.cs
- DisplayNameAttribute.cs
- TextEditorSpelling.cs
- VarRemapper.cs
- BamlMapTable.cs
- DateTimeValueSerializer.cs
- WebPartConnectVerb.cs
- RegistryKey.cs
- TypeElement.cs
- RightsManagementEncryptionTransform.cs
- HostUtils.cs
- DiagnosticsConfigurationHandler.cs
- WebBrowserHelper.cs
- linebase.cs
- OverlappedAsyncResult.cs
- CategoryNameCollection.cs
- OrderToken.cs
- wgx_sdk_version.cs
- MouseWheelEventArgs.cs
- Axis.cs
- Splitter.cs
- WebBrowserUriTypeConverter.cs
- SqlDataSourceFilteringEventArgs.cs
- WeakEventTable.cs
- ScrollBarRenderer.cs
- HttpGetClientProtocol.cs
- HttpModule.cs
- PauseStoryboard.cs
- GC.cs
- DataViewManager.cs
- BindingList.cs
- nulltextnavigator.cs
- DBConnection.cs
- RegexCompiler.cs
- ChannelFactoryRefCache.cs
- PageRanges.cs
- HtmlHead.cs
- TcpTransportSecurityElement.cs
- ColorAnimation.cs
- LinkedResource.cs
- XPathAncestorQuery.cs
- Rect3DConverter.cs
- OdbcHandle.cs
- CngAlgorithmGroup.cs
- LongValidator.cs
- CLRBindingWorker.cs
- Condition.cs
- WebPartConnectionsConfigureVerb.cs
- ParameterElement.cs
- XPathScanner.cs
- InheritanceAttribute.cs
- ModelTreeEnumerator.cs