mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
56 lines
1.7 KiB
C#
56 lines
1.7 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="PlaceHolder.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Web.UI;
|
|
|
|
/// <devdoc>
|
|
/// <para>Interacts with the parser to build a <see cref='System.Web.UI.WebControls.PlaceHolder'/> control.</para>
|
|
/// </devdoc>
|
|
public class PlaceHolderControlBuilder : ControlBuilder {
|
|
|
|
|
|
/// <internalonly/>
|
|
/// <devdoc>
|
|
/// <para>Specifies whether white space literals are allowed.</para>
|
|
/// </devdoc>
|
|
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. <asp:placeholder runat=server id=ph1/>
|
|
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
[
|
|
ControlBuilderAttribute(typeof(PlaceHolderControlBuilder))
|
|
]
|
|
public class PlaceHolder : Control {
|
|
|
|
/// <devdoc>
|
|
/// <para>Gets and sets a value indicating whether theme is enabled.</para>
|
|
/// </devdoc>
|
|
[
|
|
Browsable(true)
|
|
]
|
|
public override bool EnableTheming {
|
|
get {
|
|
return base.EnableTheming;
|
|
}
|
|
set {
|
|
base.EnableTheming = value;
|
|
}
|
|
}
|
|
}
|
|
}
|