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

123 lines
9.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="StatusBarDrawItemEventArgs" FullName="System.Windows.Forms.StatusBarDrawItemEventArgs">
<TypeSignature Language="C#" Value="public class StatusBarDrawItemEventArgs : System.Windows.Forms.DrawItemEventArgs" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.DrawItemEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Windows.Forms.StatusBar.DrawItem" /> event occurs when a visual aspect of an owner-drawn <see cref="T:System.Windows.Forms.StatusBarPanel" /> changes. A <see cref="T:System.Windows.Forms.StatusBarDrawItemEventArgs" /> specifies the <see cref="T:System.Drawing.Graphics" /> object to use to draw the panel, the <see cref="T:System.Drawing.Rectangle" /> object in which to draw the panel, the panel identification number, state information about the panel, and the panel to draw. You can use the data provided by this class in an event handler for the <see cref="E:System.Windows.Forms.StatusBar.DrawItem" /> event to create custom-drawn panels in your application's <see cref="T:System.Windows.Forms.StatusBar" /> control.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides data for the <see cref="E:System.Windows.Forms.StatusBar.DrawItem" /> event.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="g" Type="System.Drawing.Graphics" />
<Parameter Name="font" Type="System.Drawing.Font" />
<Parameter Name="r" Type="System.Drawing.Rectangle" />
<Parameter Name="itemId" Type="System.Int32" />
<Parameter Name="itemState" Type="System.Windows.Forms.DrawItemState" />
<Parameter Name="panel" Type="System.Windows.Forms.StatusBarPanel" />
</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.StatusBarDrawItemEventArgs" /> class without specifying a background and foreground color for the <see cref="T:System.Windows.Forms.StatusBarPanel" />.</para>
</summary>
<param name="g">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> to use to draw the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="font">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Font" /> used to render text. </param>
<param name="r">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> that represents the client area of the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="itemId">
<attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the panel in the <see cref="T:System.Windows.Forms.StatusBar.StatusBarPanelCollection" /> of the <see cref="T:System.Windows.Forms.StatusBar" /> control. </param>
<param name="itemState">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.DrawItemState" /> values that represents state information about the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="panel">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.StatusBarPanel" /> that represents the panel to draw. </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 StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel, System.Drawing.Color foreColor, System.Drawing.Color backColor);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="g" Type="System.Drawing.Graphics" />
<Parameter Name="font" Type="System.Drawing.Font" />
<Parameter Name="r" Type="System.Drawing.Rectangle" />
<Parameter Name="itemId" Type="System.Int32" />
<Parameter Name="itemState" Type="System.Windows.Forms.DrawItemState" />
<Parameter Name="panel" Type="System.Windows.Forms.StatusBarPanel" />
<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.StatusBarDrawItemEventArgs" /> class with a specified background and foreground color for the <see cref="T:System.Windows.Forms.StatusBarPanel" />.</para>
</summary>
<param name="g">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> to use to draw the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="font">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Font" /> used to render text. </param>
<param name="r">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> that represents the client area of the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="itemId">
<attribution license="cc4" from="Microsoft" modified="false" />The zero-based index of the panel in the <see cref="T:System.Windows.Forms.StatusBar.StatusBarPanelCollection" /> of the <see cref="T:System.Windows.Forms.StatusBar" /> control. </param>
<param name="itemState">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.DrawItemState" /> values that represents state information about the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="panel">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.StatusBarPanel" /> that represents the panel to draw. </param>
<param name="foreColor">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Drawing.Color" /> values that represents the foreground color of the panel to draw. </param>
<param name="backColor">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Drawing.Color" /> values that represents the background color of the panel to draw. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Panel">
<MemberSignature Language="C#" Value="public System.Windows.Forms.StatusBarPanel Panel { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Windows.Forms.StatusBarPanel</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Windows.Forms.StatusBarDrawItemEventArgs.Panel" /> property enables you to obtain the <see cref="T:System.Windows.Forms.StatusBarPanel" /> that needs to be drawn. You can use this information within the event handler for the <see cref="E:System.Windows.Forms.StatusBar.DrawItem" /> event of a <see cref="T:System.Windows.Forms.StatusBar" /> control to perform drawing tasks on the <see cref="T:System.Windows.Forms.StatusBarPanel" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Windows.Forms.StatusBarPanel" /> to draw.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>