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

148 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="IPropertyValueUIService" FullName="System.Drawing.Design.IPropertyValueUIService">
<TypeSignature Language="C#" Maintainer="auto" Value="public interface IPropertyValueUIService" />
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 07 D1 FA 57 C4 AE D9 F0 A3 2E 84 AA 0F AE FD 0D E9 E8 FD 6A EC 8F 87 FB 03 76 6C 83 4C 99 92 1E B2 3B E7 9A D9 D5 DC C1 DD 9A D2 36 13 21 02 90 0B 72 3C F9 80 95 7F C4 E1 77 10 8F C6 07 77 4F 29 E8 32 0E 92 EA 05 EC E4 E8 21 C0 A5 EF E8 F1 64 5C 4C 0C 93 C1 AB 99 28 5D 62 2C AA 65 2C 1D FA D6 3D 74 5D 6F 2D E5 F1 7E 5E AF 0F C4 96 3D 26 1C 8A 12 43 65 18 20 6D C0 93 34 4D 5A D2 93]</AssemblyPublicKey>
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A component can use the <see cref="T:System.Drawing.Design.IPropertyValueUIService" /> interface to provide <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects for any properties of the component. A <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> associated with a property can provide an image, a ToolTip and an event handler for the event that is raised when the image associated with the property is clicked.</para>
<para>The <see cref="T:System.Drawing.Design.IPropertyValueUIService" /> interface provides methods to add, remove, and retrieve <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> delegates to or from an internal list. When the properties of a component are displayed in a property browser, each <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> in the list is given an opportunity to provide a <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> for each property of the component.</para>
<para>When a property browser is set to display the properties of an object, it calls the <see cref="M:System.Drawing.Design.IPropertyValueUIService.GetPropertyUIValueItems(System.ComponentModel.ITypeDescriptorContext,System.ComponentModel.PropertyDescriptor)" /> method of this interface for each property of the component, passing a <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents the property. The <see cref="M:System.Drawing.Design.IPropertyValueUIService.GetPropertyUIValueItems(System.ComponentModel.ITypeDescriptorContext,System.ComponentModel.PropertyDescriptor)" /> method calls each <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> that has been added to the service. Each <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> can add a <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> to the <see cref="T:System.Collections.ArrayList" /> parameter passed in the <paramref name="valueUIItemList" /> parameter to supply UI items for the property represented by the <see cref="T:System.ComponentModel.PropertyDescriptor" /> passed in the <paramref name="propDesc" /> parameter.</para>
<para>A <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> can contain an image to display next to the property name, a ToolTip string, and an event handler to invoke when an image associated with the property is double-clicked.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides an interface to manage the images, ToolTips, and event handlers for the properties of a component displayed in a property browser.</para>
</summary>
</Docs>
<Members>
<Member MemberName="AddPropertyValueUIHandler">
<MemberSignature Language="C#" Value="public void AddPropertyValueUIHandler (System.Drawing.Design.PropertyValueUIHandler newHandler);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newHandler" Type="System.Drawing.Design.PropertyValueUIHandler" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When <see cref="M:System.Drawing.Design.IPropertyValueUIService.GetPropertyUIValueItems(System.ComponentModel.ITypeDescriptorContext,System.ComponentModel.PropertyDescriptor)" /> is called, each handler added to this service is called and given the opportunity to add an icon for the property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds the specified <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> to this service.</para>
</summary>
<param name="newHandler">
<attribution license="cc4" from="Microsoft" modified="false" />The property value UI handler to add. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetPropertyUIValueItems">
<MemberSignature Language="C#" Value="public System.Drawing.Design.PropertyValueUIItem[] GetPropertyUIValueItems (System.ComponentModel.ITypeDescriptorContext context, System.ComponentModel.PropertyDescriptor propDesc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Design.PropertyValueUIItem[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="propDesc" Type="System.ComponentModel.PropertyDescriptor" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects that match the specified context and property descriptor characteristics.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An array of <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects that match the specified parameters.</para>
</returns>
<param name="context">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that can be used to gain additional context information. </param>
<param name="propDesc">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that indicates the property to match with the properties to return. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NotifyPropertyValueUIItemsChanged">
<MemberSignature Language="C#" Value="public void NotifyPropertyValueUIItemsChanged ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Notifies the <see cref="T:System.Drawing.Design.IPropertyValueUIService" /> implementation that the global list of <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects has been modified.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PropertyUIValueItemsChanged">
<MemberSignature Language="C#" Value="public event EventHandler PropertyUIValueItemsChanged;" />
<MemberType>Event</MemberType>
<ReturnValue>
<ReturnType>System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Components that serve <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects can call <see cref="M:System.Drawing.Design.IPropertyValueUIService.NotifyPropertyValueUIItemsChanged" /> when they change their list of items.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Occurs when the list of <see cref="T:System.Drawing.Design.PropertyValueUIItem" /> objects is modified.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="RemovePropertyValueUIHandler">
<MemberSignature Language="C#" Value="public void RemovePropertyValueUIHandler (System.Drawing.Design.PropertyValueUIHandler newHandler);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newHandler" Type="System.Drawing.Design.PropertyValueUIHandler" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes the specified <see cref="T:System.Drawing.Design.PropertyValueUIHandler" /> from the property value UI service.</para>
</summary>
<param name="newHandler">
<attribution license="cc4" from="Microsoft" modified="false" />The handler to remove. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>