79 lines
5.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="StatusBarPanelClickEventArgs" FullName="System.Windows.Forms.StatusBarPanelClickEventArgs">
<TypeSignature Language="C#" Value="public class StatusBarPanelClickEventArgs : System.Windows.Forms.MouseEventArgs" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.MouseEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Windows.Forms.StatusBar.PanelClick" /> event occurs when the user clicks a panel on the <see cref="T:System.Windows.Forms.StatusBar" />. A <see cref="T:System.Windows.Forms.StatusBarPanelClickEventArgs" /> specifies which <see cref="T:System.Windows.Forms.StatusBarPanel" /> was clicked, the mouse button that was pressed, how many times it was pressed, and the coordinates of the mouse click at the time the <see cref="T:System.Windows.Forms.StatusBarPanel" /> was clicked. You can use the data provided by this class in an event handler for the <see cref="E:System.Windows.Forms.StatusBar.PanelClick" /> event to perform tasks related to the <see cref="T:System.Windows.Forms.StatusBarPanel" /> being clicked. For example, if a <see cref="T:System.Windows.Forms.StatusBarPanel" /> is used to display the time, you could create an event handler for the <see cref="E:System.Windows.Forms.StatusBar.PanelClick" /> event and use data provided by this class to display a dialog box that allows you to modify the date and time on the system.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides data for the <see cref="E:System.Windows.Forms.StatusBar.PanelClick" /> event.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public StatusBarPanelClickEventArgs (System.Windows.Forms.StatusBarPanel statusBarPanel, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="statusBarPanel" Type="System.Windows.Forms.StatusBarPanel" />
<Parameter Name="button" Type="System.Windows.Forms.MouseButtons" />
<Parameter Name="clicks" Type="System.Int32" />
<Parameter Name="x" Type="System.Int32" />
<Parameter Name="y" Type="System.Int32" />
</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.StatusBarPanelClickEventArgs" /> class.</para>
</summary>
<param name="statusBarPanel">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.StatusBarPanel" /> that represents the panel that was clicked. </param>
<param name="button">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Windows.Forms.MouseButtons" /> values that represents the mouse buttons that were clicked while over the <see cref="T:System.Windows.Forms.StatusBarPanel" />. </param>
<param name="clicks">
<attribution license="cc4" from="Microsoft" modified="false" />The number of times that the mouse button was clicked. </param>
<param name="x">
<attribution license="cc4" from="Microsoft" modified="false" />The x-coordinate of the mouse click. </param>
<param name="y">
<attribution license="cc4" from="Microsoft" modified="false" />The y-coordinate of the mouse click. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="StatusBarPanel">
<MemberSignature Language="C#" Value="public System.Windows.Forms.StatusBarPanel StatusBarPanel { 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.StatusBarPanelClickEventArgs.StatusBarPanel" /> property enables you to obtain the <see cref="T:System.Windows.Forms.StatusBarPanel" /> that was clicked. You can use this within the event handler for the <see cref="E:System.Windows.Forms.StatusBar.PanelClick" /> event of a <see cref="T:System.Windows.Forms.StatusBar" /> control to perform tasks such as displaying custom dialog boxes when a <see cref="T:System.Windows.Forms.StatusBarPanel" /> within a <see cref="T:System.Windows.Forms.StatusBar" /> control is clicked.</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>