/// <summary> /// Called whenever the view creates a graph. Allows for modifications /// to the graph view to be applied. /// </summary> /// <param name="sender">Sender object.</param> /// <param name="args">Event arguments.</param> private void ModifyGraphView(object sender, CustomDataEventArgs<IGraphView> args) { // n.b. this will be called on the main thread. if (panel.HideTitles) args.Data.FormatTitle(null); args.Data.FontSize = panel.FontSize; args.Data.MarkerSize = panel.MarkerSize; }
private void vGridControl1_CustomUnboundData(object sender, CustomDataEventArgs e) { if (e.Row != editorRow1) { return; } if (e.IsGetData) { e.Value = "Caption " + e.ListSourceRowIndex; } }
public static void CustomHandler(object sender, CustomDataEventArgs e) { Console.WriteLine($"\nEvent Invoked By: {e.ModifiedItemType.ToString()}"); }