0
Infragistics UltraWinGrid를 사용하여 렌더링하는 테이블에가는 열이 많이 있습니다.Infragistics UltraWinGrid Column-headers를 90도에서 렌더링 할 수 있습니까?
열 머리글을 90 도로 표시하여 상당히 길 수 있습니까?
Infragistics UltraWinGrid를 사용하여 렌더링하는 테이블에가는 열이 많이 있습니다.Infragistics UltraWinGrid Column-headers를 90도에서 렌더링 할 수 있습니까?
열 머리글을 90 도로 표시하여 상당히 길 수 있습니까?
Noggins,
예, 당신이 그런 방법으로 헤더를 표시 할 수 있습니다. 아래에서 헤더를 회전시키는 세 가지 가능성을 발견 할 수 있으며 필요에 가장 적합한 것을 선택해야합니다. 다음과 같은 UltraGrid 컨트롤의 InitializeLayout 이벤트를 처리하고 있습니다.` Private Sub UltraGrid1_InitializeLayout(sender As System.Object, e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout
'Create your own Vertical Orientation (1)
e.Layout.Override.ColumnHeaderTextOrientation = New Infragistics.Win.TextOrientationInfo(0, Infragistics.Win.TextFlowDirection.Vertical)
'Create your own Horizontal Orientation, rotating the headers (2)
e.Layout.Override.ColumnHeaderTextOrientation = New Infragistics.Win.TextOrientationInfo(90, Infragistics.Win.TextFlowDirection.Horizontal)
'Create your own Horizontal Orientation, rotating the headers into the opposite direction (3)
e.Layout.Override.ColumnHeaderTextOrientation = New Infragistics.Win.TextOrientationInfo(-90, Infragistics.Win.TextFlowDirection.Horizontal)
End Sub`