/// <summary> /// </summary> /// <exception cref="ArgumentNullException"> /// <para><paramref name="imageBoundsParams"/> is <see langword="null"/>.</para> /// </exception> public Rectangle GetImageBounds(NuGenBoundsParams imageBoundsParams) { if (imageBoundsParams == null) { throw new ArgumentNullException("imageBoundsParams"); } return(_buttonLayoutManager.GetImageBounds(imageBoundsParams)); }
public Rectangle GetTextBounds(NuGenBoundsParams textBoundsParams) { Assert.IsNotNull(textBoundsParams); return(Rectangle.Empty); }
/// <summary> /// </summary> public Rectangle GetCheckBoxBounds(NuGenBoundsParams checkBoundsParams) { return(this.GetImageBounds(checkBoundsParams)); }
public Rectangle GetRadioButtonBounds(NuGenBoundsParams radioBoundsParams) { Assert.IsNotNull(radioBoundsParams); return(Rectangle.Empty); }
public Rectangle GetRadioButtonBounds(NuGenBoundsParams radioBoundsParams) { Assert.IsNotNull(radioBoundsParams); return Rectangle.Empty; }
public Rectangle GetTextBounds(NuGenBoundsParams textBoundsParams) { Assert.IsNotNull(textBoundsParams); return Rectangle.Empty; }
/// <summary> /// </summary> public Rectangle GetCheckBoxBounds(NuGenBoundsParams checkBoundsParams) { return this.GetImageBounds(checkBoundsParams); }
/// <summary> /// </summary> public new Rectangle GetTextBounds(NuGenBoundsParams textBoundsParams) { Rectangle textBounds = base.GetTextBounds(textBoundsParams); return(Rectangle.Inflate(textBounds, -_textOffset, 0)); }
/// <summary> /// </summary> public Rectangle GetRadioButtonBounds(NuGenBoundsParams radioBoundsParams) { return base.GetImageBounds(radioBoundsParams); }
/// <summary> /// </summary> public Rectangle GetRadioButtonBounds(NuGenBoundsParams radioBoundsParams) { return(base.GetImageBounds(radioBoundsParams)); }
/// <summary> /// </summary> public new Rectangle GetTextBounds(NuGenBoundsParams textBoundsParams) { Rectangle textBounds = base.GetTextBounds(textBoundsParams); return Rectangle.Inflate(textBounds, -_textOffset, 0); }