Development/Winform(4)
-
[Devexpress] CustomColumnDisplayText Event
//주의 : GetRowCellValue가 아니라, GetListSourceRowCellValue 함수를 호출 if (e.ListSourceRowIndex
2020.02.17 -
[Devexpress] Dashboard Grid Maker
/* DashboardGridMaker*/ abstract class DashboardGridMaker /* Entity */ private readonly BandedGridView _gridView; protected abstract string GetDemandPartyFieldName(); protected abstract void CreateGridColumns(); protected abstract BandedGridColumn[] GetColumns(); protected abstract void CreateGridBands(); protected abstract GridBand[] GetTopBands(); /* 생성자 */ protected DashboardGridMaker(SBanded..
2020.02.17 -
[Devexpress] Add Button on Grid Control Column
-- GridView Option : OptionsView ShowButtonMode ShowAlways -- In-Place Editor Repository = Add Button Editor Add(name : open_File, name : open_NoFile) : AllowMouseWheel = false : AutoHeight : = false : Buttons : Glyph : TextEditorStyle : HideTextEditor // Grid _CustomRowCellEdit event에서 repository private void GvMainList_CustomRowCellEdit(object sender, DevExpress.XtraGrid.Views.Grid.CustomRowCe..
2020.02.07 -
[Devexpresss] Right Button Context Menu On BandedGrid
BendedGrid -- PopUpMenu Add -- PopUpMenu Customize Click -- PopUp Menu Editor Item Add, name setting(ex, btnOpneFile) -- PopUp Menu Editor Item Visible = Never /* grid_MouseDown Event */ GridView view = sender as GridView; if (view == null) return; BandedGridHitInfo hitInfoBand = gridView.CalcHitInfo(e.Location); if (hitInfoBand != null && hitInfoBand.HitTest == BandedGridHitTest.Band) { if (e.B..
2020.02.07