public CellPropertiesForm(CellProperties cellProperties) { // // Required for Windows Form Designer support // InitializeComponent(); this.buttonOK.Text = Res.Get(StringId.OKButtonText); this.buttonCancel.Text = Res.Get(StringId.CancelButton); this.cellPropertiesControl.Text = Res.Get(StringId.Cells); this.Text = Res.Get(StringId.CellPropertiesTitle); cellPropertiesControl.CellProperties = cellProperties; }
public static void SetCellProperties(IHtmlEditorComponentContext editorContext, MarkupRange markupRange, CellProperties cellProperties) { TableEditor tableEditor = new TableEditor(editorContext, markupRange); tableEditor.CellProperties = cellProperties; }
public static void SetCellProperties(IHtmlEditorComponentContext editorContext, CellProperties cellProperties) { SetCellProperties(editorContext, editorContext.Selection.SelectedMarkupRange, cellProperties); }