You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
55
external/referencesource/System.Web/UI/WebControls/PlaceHolder.cs
vendored
Normal file
55
external/referencesource/System.Web/UI/WebControls/PlaceHolder.cs
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user