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
- keycontainerpermission.cs
- GeometryValueSerializer.cs
- RequestQueue.cs
- ListBoxItemAutomationPeer.cs
- CookieParameter.cs
- DoubleAnimationUsingKeyFrames.cs
- HtmlTitle.cs
- ToolTip.cs
- CollectionConverter.cs
- BindableTemplateBuilder.cs
- PartialCachingControl.cs
- KeyFrames.cs
- RenameRuleObjectDialog.cs
- RC2CryptoServiceProvider.cs
- OleDbConnectionInternal.cs
- DiscoveryClientDocuments.cs
- Baml2006ReaderSettings.cs
- UnsafeNativeMethodsMilCoreApi.cs
- GenericEnumerator.cs
- DataFormat.cs
- Drawing.cs
- CodeSubDirectoriesCollection.cs
- SpotLight.cs
- ConnectionPoolManager.cs
- ListBoxItem.cs
- Identifier.cs
- Point3DAnimation.cs
- EpmContentDeSerializer.cs
- XhtmlBasicImageAdapter.cs
- SessionPageStatePersister.cs
- BindingWorker.cs
- PopupEventArgs.cs
- QueryStatement.cs
- ControlBuilderAttribute.cs
- HwndKeyboardInputProvider.cs
- ConfigurationException.cs
- MailAddressCollection.cs
- xdrvalidator.cs
- CommonRemoteMemoryBlock.cs
- SystemTcpConnection.cs
- FreezableDefaultValueFactory.cs
- CompiledRegexRunnerFactory.cs
- ServiceNameCollection.cs
- TransferMode.cs
- Baml2006KeyRecord.cs
- _CacheStreams.cs
- EntityType.cs
- PageRanges.cs
- DynamicDocumentPaginator.cs
- PerformanceCounterNameAttribute.cs
- Timer.cs
- Image.cs
- DataGridLinkButton.cs
- ObjectMaterializedEventArgs.cs
- ListControlDesigner.cs
- SQLGuidStorage.cs
- log.cs
- EntityViewGenerationAttribute.cs
- WindowsAuthenticationEventArgs.cs
- ArgumentReference.cs
- ReverseInheritProperty.cs
- XmlReflectionMember.cs
- SplineKeyFrames.cs
- HtmlTableRow.cs
- PolyBezierSegment.cs
- PerformanceCounterLib.cs
- SmtpTransport.cs
- UnsafeNativeMethods.cs
- SQLString.cs
- CultureInfoConverter.cs
- ComponentResourceKeyConverter.cs
- SizeF.cs
- PeerResolverElement.cs
- Hashtable.cs
- wgx_commands.cs
- StorageComplexTypeMapping.cs
- MemberInfoSerializationHolder.cs
- entityreference_tresulttype.cs
- TemplateDefinition.cs
- safePerfProviderHandle.cs
- PolyBezierSegmentFigureLogic.cs
- SafeNativeMethodsOther.cs
- ConstructorNeedsTagAttribute.cs
- MappedMetaModel.cs
- CompiledIdentityConstraint.cs
- PartialTrustVisibleAssemblyCollection.cs
- CultureSpecificStringDictionary.cs
- Util.cs
- SafeTokenHandle.cs
- ObjectDataSourceFilteringEventArgs.cs
- ParserHooks.cs
- FileUpload.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- LinkedList.cs
- DesignerRegionCollection.cs
- formatstringdialog.cs
- LinkClickEvent.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Thickness.cs
- CheckoutException.cs