IDynamicGridEditorColumn.cs 829 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using InABox.Core;
  4. using Syncfusion.UI.Xaml.Grid;
  5. using Syncfusion.UI.Xaml.TreeGrid;
  6. namespace InABox.DynamicGrid;
  7. public interface IDynamicGridEditorColumn : IDynamicColumnBase
  8. {
  9. DynamicGridColumn Definition { get; set; }
  10. string MappingName { get; }
  11. string TreeMappingName { get; }
  12. List<string> ExtraColumns { get; }
  13. bool VariableWidth { get; }
  14. bool VariableHeight { get; }
  15. bool Filtered { get; }
  16. bool Editable { get; }
  17. IDynamicGridSummary? Summary();
  18. Func<BaseObject?>? GetEntity { get; set; }
  19. GridColumn CreateGridColumn();
  20. TreeGridColumn CreateTreeGridColumn();
  21. }
  22. public interface IDynamicGridEditorColumn<TEntity> : IDynamicGridEditorColumn
  23. {
  24. void UpdateUIComponent(IDynamicGridGridUIComponent<TEntity> component);
  25. }