# FarPoint.Win.FpButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_FpButton" data-uid="FarPoint.Win.FpButton" class="text-break">FpButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents the FarPoint button control.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><span class="xref">FpButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibuttoncontrol">IButtonControl</a></div>
    <div><a class="xref" href="FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_FpButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FpButton : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISerializeSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FpButton
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISerializeSupport, ISerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_FpButton__ctor" data-uid="FarPoint.Win.FpButton.#ctor">
          <a class="xref" href="FarPoint.Win.FpButton.-ctor.html#FarPoint_Win_FpButton__ctor">FpButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new FarPoint button control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.FpButton.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.FpButton.-ctor.html#FarPoint_Win_FpButton__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">FpButton(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <span class="xref">FpButton</span> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_FpButton_BackColor2" data-uid="FarPoint.Win.FpButton.BackColor2">
          <a class="xref" href="FarPoint.Win.FpButton.BackColor2.html#FarPoint_Win_FpButton_BackColor2">BackColor2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the secondary color used when drawing a gradient button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_BackgroundStyle" data-uid="FarPoint.Win.FpButton.BackgroundStyle">
          <a class="xref" href="FarPoint.Win.FpButton.BackgroundStyle.html#FarPoint_Win_FpButton_BackgroundStyle">BackgroundStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the background is rendered.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_DarkColor" data-uid="FarPoint.Win.FpButton.DarkColor">
          <a class="xref" href="FarPoint.Win.FpButton.DarkColor.html#FarPoint_Win_FpButton_DarkColor">DarkColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color to draw the three-dimensional outside border of the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_DialogResult" data-uid="FarPoint.Win.FpButton.DialogResult">
          <a class="xref" href="FarPoint.Win.FpButton.DialogResult.html#FarPoint_Win_FpButton_DialogResult">DialogResult</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value returned to the parent when the button is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_GradientMode" data-uid="FarPoint.Win.FpButton.GradientMode">
          <a class="xref" href="FarPoint.Win.FpButton.GradientMode.html#FarPoint_Win_FpButton_GradientMode">GradientMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the drawing style of a gradient button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_HorizontalAlignment" data-uid="FarPoint.Win.FpButton.HorizontalAlignment">
          <a class="xref" href="FarPoint.Win.FpButton.HorizontalAlignment.html#FarPoint_Win_FpButton_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of text in the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_HotkeyPrefix" data-uid="FarPoint.Win.FpButton.HotkeyPrefix">
          <a class="xref" href="FarPoint.Win.FpButton.HotkeyPrefix.html#FarPoint_Win_FpButton_HotkeyPrefix">HotkeyPrefix</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the ampersand character underlines text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_LightColor" data-uid="FarPoint.Win.FpButton.LightColor">
          <a class="xref" href="FarPoint.Win.FpButton.LightColor.html#FarPoint_Win_FpButton_LightColor">LightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color to draw the three-dimensional inside border of the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_Picture" data-uid="FarPoint.Win.FpButton.Picture">
          <a class="xref" href="FarPoint.Win.FpButton.Picture.html#FarPoint_Win_FpButton_Picture">Picture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image displayed in the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_PictureDown" data-uid="FarPoint.Win.FpButton.PictureDown">
          <a class="xref" href="FarPoint.Win.FpButton.PictureDown.html#FarPoint_Win_FpButton_PictureDown">PictureDown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image displayed in the button when the button is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_ShadowSize" data-uid="FarPoint.Win.FpButton.ShadowSize">
          <a class="xref" href="FarPoint.Win.FpButton.ShadowSize.html#FarPoint_Win_FpButton_ShadowSize">ShadowSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of shadow around the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TextAlign" data-uid="FarPoint.Win.FpButton.TextAlign">
          <a class="xref" href="FarPoint.Win.FpButton.TextAlign.html#FarPoint_Win_FpButton_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how text is aligned relative to the picture in the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TextDown" data-uid="FarPoint.Win.FpButton.TextDown">
          <a class="xref" href="FarPoint.Win.FpButton.TextDown.html#FarPoint_Win_FpButton_TextDown">TextDown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text to display when the button is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TextIndent" data-uid="FarPoint.Win.FpButton.TextIndent">
          <a class="xref" href="FarPoint.Win.FpButton.TextIndent.html#FarPoint_Win_FpButton_TextIndent">TextIndent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text indent.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TextOrientation" data-uid="FarPoint.Win.FpButton.TextOrientation">
          <a class="xref" href="FarPoint.Win.FpButton.TextOrientation.html#FarPoint_Win_FpButton_TextOrientation">TextOrientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how text orients itself when painting the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TextRotationAngle" data-uid="FarPoint.Win.FpButton.TextRotationAngle">
          <a class="xref" href="FarPoint.Win.FpButton.TextRotationAngle.html#FarPoint_Win_FpButton_TextRotationAngle">TextRotationAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text rotation angle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_TwoState" data-uid="FarPoint.Win.FpButton.TwoState">
          <a class="xref" href="FarPoint.Win.FpButton.TwoState.html#FarPoint_Win_FpButton_TwoState">TwoState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the button is a two-state button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_UseVisualStyleBackColor" data-uid="FarPoint.Win.FpButton.UseVisualStyleBackColor">
          <a class="xref" href="FarPoint.Win.FpButton.UseVisualStyleBackColor.html#FarPoint_Win_FpButton_UseVisualStyleBackColor">UseVisualStyleBackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the backcolor is drawn via VisualStyles.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_Value" data-uid="FarPoint.Win.FpButton.Value">
          <a class="xref" href="FarPoint.Win.FpButton.Value.html#FarPoint_Win_FpButton_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_VerticalAlignment" data-uid="FarPoint.Win.FpButton.VerticalAlignment">
          <a class="xref" href="FarPoint.Win.FpButton.VerticalAlignment.html#FarPoint_Win_FpButton_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of text in the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_VisualStyles" data-uid="FarPoint.Win.FpButton.VisualStyles">
          <a class="xref" href="FarPoint.Win.FpButton.VisualStyles.html#FarPoint_Win_FpButton_VisualStyles">VisualStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to use visual styles.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_WordWrap" data-uid="FarPoint.Win.FpButton.WordWrap">
          <a class="xref" href="FarPoint.Win.FpButton.WordWrap.html#FarPoint_Win_FpButton_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the text that does not fit on one line wraps
to multiple lines within the button.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_FpButton_DoPaint_FarPoint_Win_FpButtonPaintArgs_" data-uid="FarPoint.Win.FpButton.DoPaint(FarPoint.Win.FpButtonPaintArgs)">
          <a class="xref" href="FarPoint.Win.FpButton.DoPaint.html#FarPoint_Win_FpButton_DoPaint_FarPoint_Win_FpButtonPaintArgs_">DoPaint(FpButtonPaintArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.FpButton.DoPaint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Boolean,System.Boolean,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Image,System.Drawing.Image,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpButton.DoPaint.html#FarPoint_Win_FpButton_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Boolean_">DoPaint(Graphics, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, bool, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the cell with the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_" data-uid="FarPoint.Win.FpButton.DoPaint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Color,System.Drawing.Color,System.Drawing.Font,FarPoint.Win.HorizontalAlignment,FarPoint.Win.VerticalAlignment,System.Boolean,System.Boolean,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Image,System.Drawing.Image,System.Boolean,System.Drawing.Text.HotkeyPrefix,FarPoint.Win.VisualStyles,System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpButton.DoPaint.html#FarPoint_Win_FpButton_DoPaint_System_Drawing_Graphics_System_Drawing_Rectangle_System_Drawing_Color_System_Drawing_Color_System_Drawing_Font_FarPoint_Win_HorizontalAlignment_FarPoint_Win_VerticalAlignment_System_Boolean_System_Boolean_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Color_System_Drawing_Color_System_Drawing_Image_System_Drawing_Image_System_Boolean_System_Drawing_Text_HotkeyPrefix_FarPoint_Win_VisualStyles_System_Boolean_">DoPaint(Graphics, Rectangle, Color, Color, Font, HorizontalAlignment, VerticalAlignment, bool, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, HotkeyPrefix, VisualStyles, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the cell with the button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.FpButton.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.FpButton.GetObjectData.html#FarPoint_Win_FpButton_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a> with the data needed to serialize the target object.
Saving all FpButton's own properties and some public, browsable design time properies of the control base</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_System_Drawing_Text_HotkeyPrefix_" data-uid="FarPoint.Win.FpButton.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,System.Drawing.Font,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Image,System.Drawing.Image,System.Drawing.Text.HotkeyPrefix)">
          <a class="xref" href="FarPoint.Win.FpButton.GetPreferredSize.html#FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_System_Drawing_Text_HotkeyPrefix_">GetPreferredSize(Graphics, Size, Font, string, string, ButtonTextAlign, TextOrientation, bool, int, Image, Image, HotkeyPrefix)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the height and width required to display the button text and picture.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_System_Drawing_Text_HotkeyPrefix_System_Double_" data-uid="FarPoint.Win.FpButton.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,System.Drawing.Font,System.String,System.String,FarPoint.Win.ButtonTextAlign,FarPoint.Win.TextOrientation,System.Boolean,System.Int32,System.Drawing.Image,System.Drawing.Image,System.Drawing.Text.HotkeyPrefix,System.Double)">
          <a class="xref" href="FarPoint.Win.FpButton.GetPreferredSize.html#FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_FarPoint_Win_TextOrientation_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_System_Drawing_Text_HotkeyPrefix_System_Double_">GetPreferredSize(Graphics, Size, Font, string, string, ButtonTextAlign, TextOrientation, bool, int, Image, Image, HotkeyPrefix, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the height and width required to display the button text and picture.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_" data-uid="FarPoint.Win.FpButton.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,System.Drawing.Font,System.String,System.String,FarPoint.Win.ButtonTextAlign,System.Boolean,System.Int32,System.Drawing.Image,System.Drawing.Image)">
          <a class="xref" href="FarPoint.Win.FpButton.GetPreferredSize.html#FarPoint_Win_FpButton_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_System_Drawing_Font_System_String_System_String_FarPoint_Win_ButtonTextAlign_System_Boolean_System_Int32_System_Drawing_Image_System_Drawing_Image_">GetPreferredSize(Graphics, Size, Font, string, string, ButtonTextAlign, bool, int, Image, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the height and width required to display the button text and picture.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_NotifyDefault_System_Boolean_" data-uid="FarPoint.Win.FpButton.NotifyDefault(System.Boolean)">
          <a class="xref" href="FarPoint.Win.FpButton.NotifyDefault.html#FarPoint_Win_FpButton_NotifyDefault_System_Boolean_">NotifyDefault(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies a control that this button is the default button for appearance sake.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_OnAfterFocus_System_EventArgs_" data-uid="FarPoint.Win.FpButton.OnAfterFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.FpButton.OnAfterFocus.html#FarPoint_Win_FpButton_OnAfterFocus_System_EventArgs_">OnAfterFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the AfterFocus event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_OnButtonClicked_System_EventArgs_" data-uid="FarPoint.Win.FpButton.OnButtonClicked(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.FpButton.OnButtonClicked.html#FarPoint_Win_FpButton_OnButtonClicked_System_EventArgs_">OnButtonClicked(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ButtonClicked event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_OnPaintBackground_System_Windows_Forms_PaintEventArgs_" data-uid="FarPoint.Win.FpButton.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="FarPoint.Win.FpButton.OnPaintBackground.html#FarPoint_Win_FpButton_OnPaintBackground_System_Windows_Forms_PaintEventArgs_">OnPaintBackground(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the background.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_OnThemeChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.FpButton.OnThemeChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.FpButton.OnThemeChanged.html#FarPoint_Win_FpButton_OnThemeChanged_System_Object_System_EventArgs_">OnThemeChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the ThemeChanged event for the VisualStyleTheme</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_PerformClick" data-uid="FarPoint.Win.FpButton.PerformClick">
          <a class="xref" href="FarPoint.Win.FpButton.PerformClick.html#FarPoint_Win_FpButton_PerformClick">PerformClick()</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a Click event for the control.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_FpButton_AfterFocus" data-uid="FarPoint.Win.FpButton.AfterFocus">
          <a class="xref" href="FarPoint.Win.FpButton.AfterFocus.html">AfterFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the control receives focuse.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_FpButton_ButtonClicked" data-uid="FarPoint.Win.FpButton.ButtonClicked">
          <a class="xref" href="FarPoint.Win.FpButton.ButtonClicked.html">ButtonClicked</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the button control is clicked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
