Пример #1
0
        /// <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));
        }
Пример #2
0
 public Rectangle GetTextBounds(NuGenBoundsParams textBoundsParams)
 {
     Assert.IsNotNull(textBoundsParams);
     return(Rectangle.Empty);
 }
Пример #3
0
 /// <summary>
 /// </summary>
 public Rectangle GetCheckBoxBounds(NuGenBoundsParams checkBoundsParams)
 {
     return(this.GetImageBounds(checkBoundsParams));
 }
Пример #4
0
 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);
		}
Пример #8
0
        /// <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);
		}