Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

50 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="IEditableTextControl" FullName="System.Web.UI.IEditableTextControl">
<TypeSignature Language="C#" Value="public interface IEditableTextControl : System.Web.UI.ITextControl" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Web.UI.ITextControl</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Controls, such as <see cref="T:System.Web.UI.WebControls.TextBox" /> and those that derive from <see cref="T:System.Web.UI.WebControls.ListControl" />, provide a text property that can be changed by a page user. When the text property is changed, an event is raised to notify handlers that the property has changed. Classes that implement <see cref="T:System.Web.UI.IEditableTextControl" /> must define the <see cref="E:System.Web.UI.IEditableTextControl.TextChanged" /> event.</para>
<para>Although the <see cref="T:System.Web.UI.IEditableTextControl" /> interface contains only the <see cref="E:System.Web.UI.IEditableTextControl.TextChanged" /> event, it inherits from the <see cref="T:System.Web.UI.ITextControl" /> interface, which defines a <see cref="P:System.Web.UI.ITextControl.Text" /> property. To implement the <see cref="T:System.Web.UI.IEditableTextControl" /> interface, a control must define the <see cref="P:System.Web.UI.ITextControl.Text" /> property and the <see cref="E:System.Web.UI.IEditableTextControl.TextChanged" /> event that occurs when the <see cref="P:System.Web.UI.ITextControl.Text" /> property changes between posts to the server.</para>
<para>
<see cref="T:System.Web.UI.IEditableTextControl" /> is implemented by <see cref="T:System.Web.UI.WebControls.TextBox" /> and <see cref="T:System.Web.UI.WebControls.ListControl" />. In those classes, the event is raised through the <see cref="M:System.Web.UI.WebControls.ListControl.OnTextChanged(System.EventArgs)" /> or <see cref="M:System.Web.UI.WebControls.TextBox.OnTextChanged(System.EventArgs)" /> methods. A class that implements the <see cref="T:System.Web.UI.IEditableTextControl" /> interface could define a similar method for raising the event.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a control that renders text that can be changed by the user.</para>
</summary>
</Docs>
<Members>
<Member MemberName="TextChanged">
<MemberSignature Language="C#" Value="public event EventHandler TextChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Web.UI.IEditableTextControl.TextChanged" /> event occurs when the <see cref="P:System.Web.UI.ITextControl.Text" /> property changes between posts to the server. An implementation of this event can be found in either the <see cref="T:System.Web.UI.WebControls.TextBox" /> or the <see cref="T:System.Web.UI.WebControls.ListControl" /> control. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Occurs when the content of the text changes between posts to the server. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>