Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageAttributes.cs
- DependencyPropertyChangedEventArgs.cs
- CrossSiteScriptingValidation.cs
- RequestBringIntoViewEventArgs.cs
- EventArgs.cs
- FixedSOMPageElement.cs
- ReachSerializableProperties.cs
- HtmlForm.cs
- ADMembershipProvider.cs
- SecurityState.cs
- ReadingWritingEntityEventArgs.cs
- LocalizationCodeDomSerializer.cs
- PaperSource.cs
- ManifestResourceInfo.cs
- SourceElementsCollection.cs
- ParserExtension.cs
- XPathNodeHelper.cs
- ChangePassword.cs
- Completion.cs
- PrintPreviewDialog.cs
- DrawingAttributes.cs
- PropertyGridDesigner.cs
- CriticalExceptions.cs
- Memoizer.cs
- ObjectViewFactory.cs
- MenuAdapter.cs
- ClientUtils.cs
- Trace.cs
- SemaphoreFullException.cs
- SafeTimerHandle.cs
- MemberPath.cs
- DecoderBestFitFallback.cs
- IISUnsafeMethods.cs
- AttributeCollection.cs
- SapiRecoContext.cs
- CellConstant.cs
- externdll.cs
- CollectionBuilder.cs
- MouseBinding.cs
- CellQuery.cs
- SByteConverter.cs
- CallbackHandler.cs
- MenuStrip.cs
- InstanceLockQueryResult.cs
- Substitution.cs
- FormsAuthenticationModule.cs
- XhtmlBasicLabelAdapter.cs
- EntityContainer.cs
- PiiTraceSource.cs
- AttachedAnnotation.cs
- Blend.cs
- LOSFormatter.cs
- ScrollProperties.cs
- DeferredTextReference.cs
- NativeConfigurationLoader.cs
- ElementUtil.cs
- ElementMarkupObject.cs
- MULTI_QI.cs
- XmlCodeExporter.cs
- XmlProcessingInstruction.cs
- ObjectContextServiceProvider.cs
- RemotingSurrogateSelector.cs
- WebMessageBodyStyleHelper.cs
- DiscreteKeyFrames.cs
- ToolStripAdornerWindowService.cs
- Trace.cs
- Control.cs
- View.cs
- XmlSchemaFacet.cs
- NotifyCollectionChangedEventArgs.cs
- WsdlInspector.cs
- XmlReflectionMember.cs
- FastEncoderWindow.cs
- ConstructorBuilder.cs
- FixedDocument.cs
- ProxyManager.cs
- ProfileGroupSettingsCollection.cs
- COM2Properties.cs
- PersonalizableAttribute.cs
- SequenceDesignerAccessibleObject.cs
- StateFinalizationDesigner.cs
- TextEmbeddedObject.cs
- XmlBufferReader.cs
- EntityClassGenerator.cs
- CodeGotoStatement.cs
- oledbmetadatacolumnnames.cs
- SqlErrorCollection.cs
- HotCommands.cs
- FloaterParagraph.cs
- ClientApiGenerator.cs
- CoTaskMemUnicodeSafeHandle.cs
- User.cs
- TypeCacheManager.cs
- InstanceDataCollectionCollection.cs
- GlobalizationAssembly.cs
- EmbeddedMailObjectsCollection.cs
- KnownTypesProvider.cs
- RecognizerInfo.cs
- DataGridViewCellMouseEventArgs.cs
- SHA256Managed.cs