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
- ServiceDescriptionImporter.cs
- Directory.cs
- StyleXamlTreeBuilder.cs
- ContractCodeDomInfo.cs
- IntranetCredentialPolicy.cs
- AsymmetricKeyExchangeFormatter.cs
- PenThreadPool.cs
- ResourceSet.cs
- Brush.cs
- WindowsListBox.cs
- Track.cs
- BitmapDecoder.cs
- TraceXPathNavigator.cs
- XPathNavigatorKeyComparer.cs
- StateRuntime.cs
- InputQueue.cs
- DefaultBindingPropertyAttribute.cs
- SqlDataSourceCommandEventArgs.cs
- DNS.cs
- ColorMap.cs
- CompositeFontParser.cs
- XmlDataSource.cs
- TextCompositionEventArgs.cs
- TranslateTransform3D.cs
- JoinElimination.cs
- TrustLevelCollection.cs
- TitleStyle.cs
- SecurityChannelListener.cs
- ConfigurationSection.cs
- SqlServer2KCompatibilityAnnotation.cs
- UnhandledExceptionEventArgs.cs
- FileFormatException.cs
- ConvertEvent.cs
- TimeSpanFormat.cs
- SessionStateSection.cs
- CodeTypeDelegate.cs
- AQNBuilder.cs
- Font.cs
- TrackingStringDictionary.cs
- ByteConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- InstallerTypeAttribute.cs
- ResourceWriter.cs
- EditorPartCollection.cs
- CmsInterop.cs
- WaitHandleCannotBeOpenedException.cs
- MappedMetaModel.cs
- SecurityDescriptor.cs
- DispatcherExceptionEventArgs.cs
- VectorValueSerializer.cs
- WindowsFormsHelpers.cs
- SystemIPInterfaceStatistics.cs
- BrowserDefinition.cs
- BuildProviderCollection.cs
- HttpCookie.cs
- ObjectParameterCollection.cs
- ProviderConnectionPoint.cs
- AlignmentXValidation.cs
- TracedNativeMethods.cs
- ReadOnlyNameValueCollection.cs
- XmlElementAttributes.cs
- EntityConnectionStringBuilderItem.cs
- Geometry.cs
- BaseAddressPrefixFilterElement.cs
- SimpleWorkerRequest.cs
- RegisterResponseInfo.cs
- ValidatedControlConverter.cs
- HttpCachePolicy.cs
- _ContextAwareResult.cs
- MailWriter.cs
- ApplicationGesture.cs
- ConfigurationLocation.cs
- ToolboxComponentsCreatedEventArgs.cs
- BadImageFormatException.cs
- DetailsViewCommandEventArgs.cs
- EncoderReplacementFallback.cs
- FormsAuthenticationTicket.cs
- BrushConverter.cs
- XmlNodeReader.cs
- HMACSHA1.cs
- SimpleLine.cs
- HostProtectionException.cs
- ColumnPropertiesGroup.cs
- CompositeCollectionView.cs
- EntityParameterCollection.cs
- RectAnimationUsingKeyFrames.cs
- DataControlCommands.cs
- SortDescription.cs
- ListItem.cs
- FormViewDeletedEventArgs.cs
- cryptoapiTransform.cs
- Hyperlink.cs
- XsltOutput.cs
- ProcessHostFactoryHelper.cs
- PlatformCulture.cs
- ParagraphVisual.cs
- AccessDataSourceWizardForm.cs
- ListItem.cs
- PlanCompiler.cs
- SplitContainer.cs