Code Behind: void _checksTree_AssigningFieldLayoutToItem(object sender, Infragistics.Windows.DataPresenter.Events.AssigningFieldLayoutToItemEventArgs e) { if (e.Item is Check) { if (e.Item is ClearingLimitCheck) { e.FieldLayout = _clearinglimitcheck; } else if (e.Item is AccountStatusCheck) { e.FieldLayout = _accountstatuscheck; } else if (e.Item is WrongWayRiskCheck) { e.FieldLayout = _wrongwayriskcheck; } else if (e.Item is TMGCheck) { e.FieldLayout = _tmgcheck; } else if (e.Item is PE95LimitCheck) { e.FieldLayout = _pe95limitcheck; } else if (e.Item is CVACheck) { e.FieldLayout = _cvacheck; } else if (e.Item is AssignmentLimitCheck) { e.FieldLayout = _assignmentlimitcheck; } else if (e.Item is CDSNovationCheck) { e.FieldLayout = _cdsnovationcheck; } else if (e.Item is CTDVACheck) { e.FieldLayout = _ctdvacheck; } else if (e.Item is UpfrontCheck) { e.FieldLayout = _upfrontcheck; } } else if (e.Item is CheckDetail) { if (e.Item is ClearingLimitCheckDetail) { e.FieldLayout = _clearinglimitcheckdetail; } else if (e.Item is AssignmentLimitCreditCheckDetail) { e.FieldLayout = _assignmentlimitcreditcheckdetail; } else if (e.Item is AssignmentLimitPBCheckDetail) { e.FieldLayout = _assignmentlimitpbcheckdetail; } else if (e.Item is PE95LimitCheckDetail) { e.FieldLayout = _pe95limitcheckdetail; } else if (e.Item is CTDVACheckDetail) { e.FieldLayout = _ctdvacheckdetail; } else if (e.Item is CDSNovationCheckDetail) { e.FieldLayout = _cdsnovationcheckdetail; } else if (e.Item is JTDClearingLimitCheckDetail) { e.FieldLayout = _jtdclearinglimitcheckdetail; } } else { if (e.Item is TreeNodeRole) { e.FieldLayout = _treenoderole; } else if (e.Item is TreeNodeReviewItemType) { e.FieldLayout = _treenodereviewitemtype; } else if (e.Item is TreeNodeChecks) { e.FieldLayout = _treenodechecks; } e.FieldLayout.Settings.LabelLocation = LabelLocation.Hidden; } }