We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

pushbutton size

Thread ID:

Created:

Updated:

Platform:

Replies:

37472 Nov 22,2005 01:25 PM Nov 22,2005 01:33 PM Windows Forms 1
loading
Tags: GridControl
Giancarlo Aguilera
Asked On November 22, 2005 01:25 PM

First and foremost, before I proceed and ask my question, I just want to say thanks for all the help you guys have given me. In my last posts, you guys (Clay) gave me some good answers but of course I never even said thanks, so now I''m saying it. Anyways, here''s my issue. I''m using the grid control (plain vanilla, not the data bound one), and I want to set certain cells to pushbuttons, however, the size of the push button is always the size of the host cell, is there any way to customize the size and docking of the push button? Many Thanks Giancarlo

Administrator [Syncfusion]
Replied On November 22, 2005 01:33 PM

You can set the style.BorderMargins property to affect the size of a pushbutton cell. this.gridControl1[3,3].CellType = "PushButton"; this.gridControl1[3,3].BorderMargins.Left = 10; this.gridControl1[3,3].BorderMargins.Right = 20; You can also create your own bitmap buttons as in the Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\In Depth\CellButtons sample if you want more flexibility.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;