File: IWebEditable.xml

package info (click to toggle)
mono-reference-assemblies 3.12.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 604,240 kB
  • ctags: 625,505
  • sloc: cs: 3,967,741; xml: 2,793,081; ansic: 418,042; java: 60,435; sh: 14,833; makefile: 11,576; sql: 7,956; perl: 1,467; cpp: 1,446; yacc: 1,203; python: 598; asm: 422; sed: 16; php: 1
file content (77 lines) | stat: -rw-r--r-- 7,843 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<Type Name="IWebEditable" FullName="System.Web.UI.WebControls.WebParts.IWebEditable">
  <TypeSignature Language="C#" Value="public interface IWebEditable" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Interfaces />
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.WebControls.WebParts.IWebEditable" /> interface enables you to associate custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls with a server control--such as a <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control, a user control, or a custom server control. The <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls are contained with an <see cref="T:System.Web.UI.WebControls.WebParts.EditorZone" /> control, and this zone with its editing controls provides end users with a user interface (UI) for modifying properties, appearance, and behavior on the associated <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control. </para>
      <para>The <see cref="T:System.Web.UI.WebControls.WebParts.IWebEditable" /> interface includes two exposed members. The <see cref="P:System.Web.UI.WebControls.WebParts.IWebEditable.WebBrowsableObject" /> property provides a way for <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls to get a reference to the associated server control. The <see cref="M:System.Web.UI.WebControls.WebParts.IWebEditable.CreateEditorParts" /> method is used to create an instance of each custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> control associated with a server control, and return them as a collection.</para>
      <para>The <see cref="T:System.Web.UI.WebControls.WebParts.IWebEditable" /> interface is already implemented on the base <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> class, although by default this implementation does not associate any custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls with the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> class. To associate a derived <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control with custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls, you can override the <see cref="M:System.Web.UI.WebControls.WebParts.IWebEditable.CreateEditorParts" /> method. </para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Provides an interface for developers to specify custom editing controls that are associated with a <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="CreateEditorParts">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.WebParts.EditorPartCollection CreateEditorParts ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.WebParts.EditorPartCollection</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="M:System.Web.UI.WebControls.WebParts.IWebEditable.CreateEditorParts" /> method enables you to create a collection of all the custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls associated with your custom control, <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control, or user control, and return them as an <see cref="T:System.Web.UI.WebControls.WebParts.EditorPartCollection" /> object. The <see cref="T:System.Web.UI.WebControls.WebParts.WebPartManager" /> control takes the collection and creates instances of all the <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls whenever the server control enters edit mode.</para>
          <para>Typically you implement this method in a custom <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control by overriding its <see cref="M:System.Web.UI.WebControls.WebParts.WebPart.CreateEditorParts" /> method. In the method, you create instances of the custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls you want to associate with your controls, add them to an <see cref="T:System.Web.UI.WebControls.WebParts.EditorPartCollection" /> object, and then return that object. The collection of <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls is then assigned to the <see cref="P:System.Web.UI.WebControls.WebParts.EditorZoneBase.EditorParts" /> property of the <see cref="T:System.Web.UI.WebControls.WebParts.EditorZoneBase" /> zone. </para>
          <block subset="none" type="note">
            <para>Any <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> that is added to the collection of <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls in an implementation of the <see cref="M:System.Web.UI.WebControls.WebParts.IWebEditable.CreateEditorParts" /> method must have a value assigned to its ID property, otherwise an exception will be thrown when the collection is assigned to the <see cref="P:System.Web.UI.WebControls.WebParts.EditorZoneBase.EditorParts" /> property.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Returns a collection of custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls associated with a server control that implements the <see cref="T:System.Web.UI.WebControls.WebParts.IWebEditable" /> interface.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An <see cref="T:System.Web.UI.WebControls.WebParts.EditorPartCollection" /> that contains the collection of custom <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls associated with a server control. </para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="WebBrowsableObject">
      <MemberSignature Language="C#" Value="public object WebBrowsableObject { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Object</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.UI.WebControls.WebParts.IWebEditable.WebBrowsableObject" /> property provides a way for <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls to get a reference to the server controls they are associated with. </para>
          <para>Although the property itself is read-only, the object reference that it returns enables <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls to change values in the server control.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a reference to the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control, user control, or custom control that will be edited by <see cref="T:System.Web.UI.WebControls.WebParts.EditorPart" /> controls.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>