287 lines
15 KiB
XML
287 lines
15 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="DrawItemEventArgs" FullName="System.Windows.Forms.DrawItemEventArgs">
|
||
|
<TypeSignature Language="C#" Value="public class DrawItemEventArgs : EventArgs" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.Windows.Forms</AssemblyName>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.EventArgs</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The DrawItem event is raised by owner draw controls, such as the <see cref="T:System.Windows.Forms.ListBox" /> and <see cref="T:System.Windows.Forms.ComboBox" /> controls. It contains all the information that is needed for the user to paint the specified item, including the item index, the <see cref="T:System.Drawing.Rectangle" />, and the <see cref="T:System.Drawing.Graphics" /> on which the drawing should be done.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Provides data for the DrawItem event.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state);" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<Parameters>
|
||
|
<Parameter Name="graphics" Type="System.Drawing.Graphics" />
|
||
|
<Parameter Name="font" Type="System.Drawing.Font" />
|
||
|
<Parameter Name="rect" Type="System.Drawing.Rectangle" />
|
||
|
<Parameter Name="index" Type="System.Int32" />
|
||
|
<Parameter Name="state" Type="System.Windows.Forms.DrawItemState" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.DrawItemEventArgs" /> class for the specified control with the specified font, state, surface to draw on, and the bounds to draw within.</para>
|
||
|
</summary>
|
||
|
<param name="graphics">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> surface on which to draw. </param>
|
||
|
<param name="font">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Font" /> to use, usually the parent control's <see cref="T:System.Drawing.Font" /> property. </param>
|
||
|
<param name="rect">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> bounds to draw within. </param>
|
||
|
<param name="index">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.Control.ControlCollection" /> index value of the item that is being drawn. </param>
|
||
|
<param name="state">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The control's <see cref="T:System.Windows.Forms.DrawItemState" /> information. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public DrawItemEventArgs (System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor);" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<Parameters>
|
||
|
<Parameter Name="graphics" Type="System.Drawing.Graphics" />
|
||
|
<Parameter Name="font" Type="System.Drawing.Font" />
|
||
|
<Parameter Name="rect" Type="System.Drawing.Rectangle" />
|
||
|
<Parameter Name="index" Type="System.Int32" />
|
||
|
<Parameter Name="state" Type="System.Windows.Forms.DrawItemState" />
|
||
|
<Parameter Name="foreColor" Type="System.Drawing.Color" />
|
||
|
<Parameter Name="backColor" Type="System.Drawing.Color" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.DrawItemEventArgs" /> class for the specified control with the specified font, state, foreground color, background color, surface to draw on, and the bounds to draw within.</para>
|
||
|
</summary>
|
||
|
<param name="graphics">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> surface on which to draw. </param>
|
||
|
<param name="font">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Font" /> to use, usually the parent control's <see cref="T:System.Drawing.Font" /> property. </param>
|
||
|
<param name="rect">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> bounds to draw within. </param>
|
||
|
<param name="index">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.Control.ControlCollection" /> index value of the item that is being drawn. </param>
|
||
|
<param name="state">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The control's <see cref="T:System.Windows.Forms.DrawItemState" /> information. </param>
|
||
|
<param name="foreColor">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The foreground <see cref="T:System.Drawing.Color" /> to draw the control with. </param>
|
||
|
<param name="backColor">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The background <see cref="T:System.Drawing.Color" /> to draw the control with. </param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="BackColor">
|
||
|
<MemberSignature Language="C#" Value="public System.Drawing.Color BackColor { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Drawing.Color</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>If the item's state is <see cref="F:System.Windows.Forms.DrawItemState.Selected" />, the <see cref="P:System.Windows.Forms.DrawItemEventArgs.BackColor" /> is set to <see cref="P:System.Drawing.SystemColors.HighlightText" />. If the item's state is not <see cref="F:System.Windows.Forms.DrawItemState.Selected" />, the <see cref="P:System.Windows.Forms.DrawItemEventArgs.BackColor" /> property is set to <see cref="P:System.Drawing.SystemColors.Window" />.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the background color of the item that is being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Bounds">
|
||
|
<MemberSignature Language="C#" Value="public System.Drawing.Rectangle Bounds { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Drawing.Rectangle</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the rectangle that represents the bounds of the item that is being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="DrawBackground">
|
||
|
<MemberSignature Language="C#" Value="public virtual void DrawBackground ();" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>If the item being drawn is <see cref="F:System.Windows.Forms.DrawItemState.Selected" />, the background is drawn with the text highlighted.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Draws the background within the bounds specified in the <see cref="Overload:System.Windows.Forms.DrawItemEventArgs.#ctor" /> constructor and with the appropriate color.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="DrawFocusRectangle">
|
||
|
<MemberSignature Language="C#" Value="public virtual void DrawFocusRectangle ();" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>If the item being drawn has <see cref="F:System.Windows.Forms.DrawItemState.Focus" />, the focus rectangle is drawn.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Draws a focus rectangle within the bounds specified in the <see cref="Overload:System.Windows.Forms.DrawItemEventArgs.#ctor" /> constructor.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Font">
|
||
|
<MemberSignature Language="C#" Value="public System.Drawing.Font Font { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Drawing.Font</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A suggested <see cref="T:System.Drawing.Font" />, usually the <see cref="P:System.Windows.Forms.Control.Font" /> property of the parent control.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the font that is assigned to the item being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="ForeColor">
|
||
|
<MemberSignature Language="C#" Value="public System.Drawing.Color ForeColor { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Drawing.Color</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>If the item's state is <see cref="F:System.Windows.Forms.DrawItemState.Selected" />, the <see cref="P:System.Windows.Forms.DrawItemEventArgs.ForeColor" /> is set to <see cref="P:System.Drawing.SystemColors.HighlightText" />. If the item's state is not <see cref="F:System.Windows.Forms.DrawItemState.Selected" />, the <see cref="P:System.Windows.Forms.DrawItemEventArgs.ForeColor" /> property is set to <see cref="P:System.Drawing.SystemColors.WindowText" />.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the foreground color of the of the item being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Graphics">
|
||
|
<MemberSignature Language="C#" Value="public System.Drawing.Graphics Graphics { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Drawing.Graphics</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the graphics surface to draw the item on.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Index">
|
||
|
<MemberSignature Language="C#" Value="public int Index { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Int32</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>This property returns the <see cref="P:System.Windows.Forms.Control.ControlCollection.Item(System.Int32)" /> value of the item being drawn in the <see cref="T:System.Windows.Forms.Control.ControlCollection" />. This property can return -1 if items were removed from the list.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the index value of the item that is being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="State">
|
||
|
<MemberSignature Language="C#" Value="public System.Windows.Forms.DrawItemState State { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Windows.Forms.DrawItemState</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>This property value can be a combination of the <see cref="T:System.Windows.Forms.DrawItemState" /> enumeration members. The members can be combined by using bitwise operators.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the state of the item being drawn.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|