public RowPropertiesForm(RowProperties rowProperties) { // // Required for Windows Form Designer support // InitializeComponent(); this.buttonOK.Text = Res.Get(StringId.OKButtonText); this.buttonCancel.Text = Res.Get(StringId.CancelButton); this.groupBoxHeight.Text = Res.Get(StringId.Height); this.labelPixels.Text = Res.Get(StringId.pixels); this.radioButtonFixedHeight.Text = Res.Get(StringId.RowPropertiesFixedHeight); this.radioButtonSizeToContent.Text = Res.Get(StringId.RowPropertiesSizeToContent); this.Text = Res.Get(StringId.RowPropertiesTitle); RowHeight = rowProperties.Height; cellPropertiesControl.CellProperties = rowProperties.CellProperties; }
public static void SetRowProperties(IHtmlEditorComponentContext editorContext, MarkupRange markupRange, RowProperties rowProperties) { TableEditor tableEditor = new TableEditor(editorContext, markupRange); tableEditor.RowProperties = rowProperties; }
public static void SetRowProperties(IHtmlEditorComponentContext editorContext, RowProperties rowProperties) { SetRowProperties(editorContext, editorContext.Selection.SelectedMarkupRange, rowProperties); }