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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="IWindowsFormsEditorService" FullName="System.Windows.Forms.Design.IWindowsFormsEditorService">
<TypeSignature Language="C#" Value="public interface IWindowsFormsEditorService" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Windows.Forms.Design.IWindowsFormsEditorService" /> is only available through the <see cref="M:System.IServiceProvider.GetService(System.Type)" /> method of the <see cref="T:System.Windows.Forms.PropertyGrid" /> control.</para>
<para>This service is typically used to display a form from the <see cref="M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object)" /> method of a <see cref="T:System.Drawing.Design.UITypeEditor" />. When a <see cref="T:System.Windows.Forms.PropertyGrid" /> invokes the <see cref="M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object)" /> method of a <see cref="T:System.Drawing.Design.UITypeEditor" /> to provide a user interface for editing the value of a property, the <see cref="M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object)" /> method is passed a reference to an <see cref="T:System.IServiceProvider" /> that can typically provide an instance of the <see cref="T:System.Windows.Forms.Design.IWindowsFormsEditorService" />. The methods of this service can be used to display dialog boxes and forms, or to show a <see cref="T:System.Windows.Forms.Control" /> within a drop down container that is shown on top of the property grid near the area of the value field whose value is being edited.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides an interface for a <see cref="T:System.Drawing.Design.UITypeEditor" /> to display Windows Forms or to display a control in a drop-down area from a property grid control in design mode.</para>
</summary>
</Docs>
<Members>
<Member MemberName="CloseDropDown">
<MemberSignature Language="C#" Value="public void CloseDropDown ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method closes the drop down container area for a control that has been shown using the <see cref="M:System.Windows.Forms.Design.IWindowsFormsEditorService.DropDownControl(System.Windows.Forms.Control)" /> method, and releases the drop down container's reference to the control.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Closes any previously opened drop down control area.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="DropDownControl">
<MemberSignature Language="C#" Value="public void DropDownControl (System.Windows.Forms.Control control);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Windows.Forms.Control" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object)" /> method of a <see cref="T:System.Drawing.Design.UITypeEditor" /> can call this method to display a specified control in a drop down area over the property grid hosting the editor which uses this service.</para>
<para>When possible, the dimensions of the control will be maintained. If this is not possible due to the screen layout, the control may be resized. To ensure that the control resizes neatly, you should implement docking and anchoring, and possibly any resize event-handler update code. If the user performs an action that causes the drop down to close, the control will be hidden and disposed by garbage collection if there is no other stored reference to the control.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Displays the specified control in a drop down area below a value field of the property grid that provides this service.</para>
</summary>
<param name="control">
<attribution license="cc4" from="Microsoft" modified="false" />The drop down list <see cref="T:System.Windows.Forms.Control" /> to open. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ShowDialog">
<MemberSignature Language="C#" Value="public System.Windows.Forms.DialogResult ShowDialog (System.Windows.Forms.Form dialog);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.DialogResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dialog" Type="System.Windows.Forms.Form" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method displays the specified form.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Shows the specified <see cref="T:System.Windows.Forms.Form" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Windows.Forms.DialogResult" /> indicating the result code returned by the <see cref="T:System.Windows.Forms.Form" />.</para>
</returns>
<param name="dialog">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.Form" /> to display. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|