![]() The event fires only if the SchedulerOptionsCustomization.AllowAppointmentDelete property is set to Custom. Occurs when the SchedulerControl checks whether the appointment can be deleted. Occurs when an end-user tries to create a new appointment and the SchedulerOptionsCustomization.AllowAppointmentCreate property is set to Custom. Occurs when an end-user tries to copy an appointment and the SchedulerOptionsCustomization.AllowAppointmentCopy property is set to Custom. Occurs when the scheduler finds appointments that are in conflict, and the SchedulerOptionsCustomization.AllowAppointmentConflicts property is set to Custom. ![]() Occurs when the Scheduler control is changing its active view. Occurs after the active view of the Scheduler control has been changed. TreeListColumn 클래스 : Format 속성을 사용해 컬럼 포맷 설정하기 ▶ MainForm.cs using System using DevExpress.Utils using DevExpress.XtraEditors using scheduled data using one of the available views and provides the capability to edit, save and load appointments.TreeList.SetNodeIndex(newNode, targetPosition) TreeListNode newNode = treeList.AppendNode(persionValueArray, node.ParentNode) ParentID = Convert.ToInt32(node.GetValue("ParentID")) TreeList.AppendNode(persionValueArray, node) Object persionValueArray = (new PersonExtended(persion, parentID)).ToArray() ![]() If(position = DragInsertPosition.AsChild) TreeList.AppendNode((new PersonExtended(persion, parentID)).ToArray(), null) Person persion = e.Data.GetData(typeof(TestProject.Person)) as Person Private void treeList_DragDrop(object sender, DragEventArgs e)ĭXDragEventArgs args = treeList.GetDXDragEventArgs(e) ĭragInsertPosition position = args.DragInsertPosition #region 트리 리스트 드래그 DROP 처리하기 - treeList_DragDrop(sender, e) Private void treeList_DragOver(object sender, DragEventArgs e) #region 트리 리스트 드래그 OVER 처리하기 - treeList_DragOver(sender, e) Private void treeList_DragEnter(object sender, DragEventArgs e) #region 트리 리스트 드래그 ENTER 처리하기 - treeList_DragEnter(sender, e) If(!( = GridControl.InvalidRowHandle) & !dragRectangle.Contains(new Point(e.X, e.Y))) Private void gridControl_MouseMove(object sender, MouseEventArgs e) Private void gridControl_MouseDown(object sender, MouseEventArgs e) #region 그리드 컨트롤 마우스 DOWN 처리하기 - gridControl_MouseDown(sender, e) (new Person("Andrew", "Fuller", "USA" )) (new Person("Sergio", "Rubini", "Italy" )) (new Person("Gerard", "Blain", "France")) (new Person("Laura", "Callahan", "UK" )) (new Person("Michael", "Suyama", "UK" )) Private BindingList gridDataSource = new BindingList()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |