|
|
|
|
|
 |
 |
 |
|
Foros MUGPERU
|
 |
 |
| Author |
Messages |
|
power_net Posts:47
 |
| 10/07/2006 03:35 PM |
|
Hola chicos:
Bueno en asp.net es sencillo ampliar el alto del encabezado de un datagrid. Pero ahora estoy trabajando con VB.NET 2003 en una app windows. Y no se la forma como lograr esto. Si alguno de uds. por favor me puede ayudar.
Muchas gracias, |
|
|
|
|
YOJAN Posts:27
 |
| 13/06/2007 09:07 AM |
|
Hola,
No es tan transparente cambiar el alto :( .. Pero usando estas Lineas lo conseguiras:
Imports System.Reflection Dim headerFontHeightFieldInfo As FieldInfo headerFontHeightFieldInfo = dgPanelPrincipal.GetType().GetField("headerFontHeight", BindingFlags.NonPublic Or BindingFlags.Instance)
If Not headerFontHeightFieldInfo Is Nothing Then Dim currentHeight As Integer currentHeight = headerFontHeightFieldInfo.GetValue(dgPanelPrincipal) headerFontHeightFieldInfo.SetValue(dgPanelPrincipal, 35) End If |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
 |
 |
 |
 |
|
|
|
|
|
|
|
|
|