Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
162 lines (151 sloc) 10.2 KB
<Type Name="IControlDesignerAccessor" FullName="System.Web.UI.IControlDesignerAccessor">
<TypeSignature Language="C#" Value="public interface IControlDesignerAccessor" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IControlDesignerAccessor" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.IControlDesignerAccessor" />
<TypeSignature Language="VB.NET" Value="Public Interface IControlDesignerAccessor" />
<TypeSignature Language="C++ CLI" Value="public interface class IControlDesignerAccessor" />
<TypeSignature Language="F#" Value="type IControlDesignerAccessor = interface" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>Provides access to a control designer to store temporary design-time data associated with a control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The property and methods defined in the <xref:System.Web.UI.IControlDesignerAccessor> interface offer a convenient way for the control designer to access a control for passing and retrieving temporary design-time data. The interface is implemented by the <xref:System.Web.UI.Control> class. Control designers use the implementation of this interface to access the control.
Temporary design-time data is not persisted with the control itself. To persist design-time data for a control, you should retrieve the contents of the <xref:System.Web.UI.IControlDesignerAccessor.UserData%2A> property and store them in a designer-specific location.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://msdn.microsoft.com/library/27e44af0-6e12-4b7d-b17f-db35f1b6a052">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
<Members>
<Member MemberName="GetDesignModeState">
<MemberSignature Language="C#" Value="public System.Collections.IDictionary GetDesignModeState ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IDictionary GetDesignModeState() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.IControlDesignerAccessor.GetDesignModeState" />
<MemberSignature Language="VB.NET" Value="Public Function GetDesignModeState () As IDictionary" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Collections::IDictionary ^ GetDesignModeState();" />
<MemberSignature Language="F#" Value="abstract member GetDesignModeState : unit -&gt; System.Collections.IDictionary" Usage="iControlDesignerAccessor.GetDesignModeState " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.IDictionary</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When implemented, gets the state from the control during use on the design surface.</summary>
<returns>An <see cref="T:System.Collections.IDictionary" /> of the control state.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used only by control designers.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://msdn.microsoft.com/library/27e44af0-6e12-4b7d-b17f-db35f1b6a052">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
</Member>
<Member MemberName="SetDesignModeState">
<MemberSignature Language="C#" Value="public void SetDesignModeState (System.Collections.IDictionary data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetDesignModeState(class System.Collections.IDictionary data) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.IControlDesignerAccessor.SetDesignModeState(System.Collections.IDictionary)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetDesignModeState (data As IDictionary)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void SetDesignModeState(System::Collections::IDictionary ^ data);" />
<MemberSignature Language="F#" Value="abstract member SetDesignModeState : System.Collections.IDictionary -&gt; unit" Usage="iControlDesignerAccessor.SetDesignModeState data" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="data" Type="System.Collections.IDictionary" />
</Parameters>
<Docs>
<param name="data">The <see cref="T:System.Collections.IDictionary" /> containing the control state.</param>
<summary>When implemented, sets control state before rendering it on the design surface.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
In overridden controls, this method is used to retain and set state for the control during design-time mode. This method is used only by control designers.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://msdn.microsoft.com/library/27e44af0-6e12-4b7d-b17f-db35f1b6a052">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
</Member>
<Member MemberName="SetOwnerControl">
<MemberSignature Language="C#" Value="public void SetOwnerControl (System.Web.UI.Control owner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetOwnerControl(class System.Web.UI.Control owner) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.IControlDesignerAccessor.SetOwnerControl(System.Web.UI.Control)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetOwnerControl (owner As Control)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void SetOwnerControl(System::Web::UI::Control ^ owner);" />
<MemberSignature Language="F#" Value="abstract member SetOwnerControl : System.Web.UI.Control -&gt; unit" Usage="iControlDesignerAccessor.SetOwnerControl owner" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="owner" Type="System.Web.UI.Control" />
</Parameters>
<Docs>
<param name="owner">The control to act as owner.</param>
<summary>When implemented, specifies the control that acts as the owner to the control implementing this method.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
In a composite container scenario where one control contains another control, the container is the control owner.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://msdn.microsoft.com/library/27e44af0-6e12-4b7d-b17f-db35f1b6a052">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
</Member>
<Member MemberName="UserData">
<MemberSignature Language="C#" Value="public System.Collections.IDictionary UserData { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.IDictionary UserData" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.IControlDesignerAccessor.UserData" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property UserData As IDictionary" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Collections::IDictionary ^ UserData { System::Collections::IDictionary ^ get(); };" />
<MemberSignature Language="F#" Value="member this.UserData : System.Collections.IDictionary" Usage="System.Web.UI.IControlDesignerAccessor.UserData" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.IDictionary</ReturnType>
</ReturnValue>
<Docs>
<summary>When implemented, gets a collection of information that can be accessed by a control designer.</summary>
<value>An <see cref="T:System.Collections.IDictionary" /> containing information about the control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A control's properties and content can be persisted, so that the control maintains state in the design-time environment. This property is used only by control designers.
]]></format>
</remarks>
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://msdn.microsoft.com/library/27e44af0-6e12-4b7d-b17f-db35f1b6a052">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.