Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / PlaceHolder.cs / 1 / PlaceHolder.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Web.UI;
using System.Security.Permissions;
///
/// Interacts with the parser to build a control.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class PlaceHolderControlBuilder : ControlBuilder {
///
///
/// Specifies whether white space literals are allowed.
///
public override bool AllowWhitespaceLiterals() {
return false;
}
}
// The reason we define this empty override in the WebControls namespace is
// to expose it as a control that can be used on a page (ASURT 51116)
// E.g.
///
/// [To be supplied.]
///
[
ControlBuilderAttribute(typeof(PlaceHolderControlBuilder))
]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class PlaceHolder : Control {
///
/// Gets and sets a value indicating whether theme is enabled.
///
[
Browsable(true)
]
public override bool EnableTheming {
get {
return base.EnableTheming;
}
set {
base.EnableTheming = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Web.UI;
using System.Security.Permissions;
///
/// Interacts with the parser to build a control.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class PlaceHolderControlBuilder : ControlBuilder {
///
///
/// Specifies whether white space literals are allowed.
///
public override bool AllowWhitespaceLiterals() {
return false;
}
}
// The reason we define this empty override in the WebControls namespace is
// to expose it as a control that can be used on a page (ASURT 51116)
// E.g.
///
/// [To be supplied.]
///
[
ControlBuilderAttribute(typeof(PlaceHolderControlBuilder))
]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class PlaceHolder : Control {
///
/// Gets and sets a value indicating whether theme is enabled.
///
[
Browsable(true)
]
public override bool EnableTheming {
get {
return base.EnableTheming;
}
set {
base.EnableTheming = 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
- ClockController.cs
- XmlDocumentFragment.cs
- Model3DGroup.cs
- DataGridCell.cs
- NewItemsContextMenuStrip.cs
- CheckedPointers.cs
- DelegatingHeader.cs
- BindingContext.cs
- AttributeProviderAttribute.cs
- AbsoluteQuery.cs
- EnumConverter.cs
- EllipticalNodeOperations.cs
- CodeGen.cs
- PageCatalogPart.cs
- DictionarySectionHandler.cs
- ForEachAction.cs
- HttpWebResponse.cs
- TransportBindingElementImporter.cs
- Geometry3D.cs
- CodeTypeParameter.cs
- RemoveStoryboard.cs
- EventLog.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataSourceCache.cs
- SpecularMaterial.cs
- OleDbEnumerator.cs
- QuaternionConverter.cs
- SettingsPropertyValue.cs
- HtmlSelect.cs
- DataGridViewCellConverter.cs
- APCustomTypeDescriptor.cs
- FlowLayout.cs
- XmlSchemaSimpleType.cs
- WindowsIdentity.cs
- Policy.cs
- HostedTransportConfigurationBase.cs
- FunctionImportMapping.cs
- SystemIPInterfaceStatistics.cs
- UIServiceHelper.cs
- SmiConnection.cs
- MissingFieldException.cs
- SQLMembershipProvider.cs
- Models.cs
- PersonalizationStateInfoCollection.cs
- ToolStripRendererSwitcher.cs
- StringAnimationBase.cs
- PageCatalogPart.cs
- Stroke.cs
- XmlILConstructAnalyzer.cs
- BooleanStorage.cs
- ColumnClickEvent.cs
- XmlReader.cs
- RegexCompiler.cs
- DefaultEventAttribute.cs
- ObjectTag.cs
- XmlConverter.cs
- EditingCoordinator.cs
- ActivationServices.cs
- ColorMatrix.cs
- FontNamesConverter.cs
- PngBitmapEncoder.cs
- PropertyGridView.cs
- WindowsNonControl.cs
- Journal.cs
- PerformanceCounter.cs
- MetadataFile.cs
- DBNull.cs
- LoginCancelEventArgs.cs
- PreservationFileReader.cs
- WindowsListViewItemCheckBox.cs
- BasicBrowserDialog.designer.cs
- WebPartTransformer.cs
- XmlDocumentSurrogate.cs
- SafeLocalMemHandle.cs
- FileLevelControlBuilderAttribute.cs
- HttpResponse.cs
- UIntPtr.cs
- ChildDocumentBlock.cs
- HitTestDrawingContextWalker.cs
- ISAPIRuntime.cs
- SqlXml.cs
- DBDataPermissionAttribute.cs
- CopyAction.cs
- DataGridViewSelectedColumnCollection.cs
- QuotedPrintableStream.cs
- HtmlTextArea.cs
- FrameworkRichTextComposition.cs
- AdapterUtil.cs
- XmlQueryContext.cs
- BaseParaClient.cs
- SessionStateItemCollection.cs
- CombinedGeometry.cs
- Int32Rect.cs
- CodeAttributeArgumentCollection.cs
- WindowsFormsSectionHandler.cs
- ClientConvert.cs
- FactoryRecord.cs
- BitmapMetadataBlob.cs
- UIElementParagraph.cs
- ComplexPropertyEntry.cs