FrameFillColorDialog Method
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Invokes the built-in dialog box for choosing a color for the background of a paragraph or a table cell.
Syntax
public DialogResult FrameFillColorDialog();Public Function FrameFillColorDialog() As DialogResultReturn Value
If the dialog has been left with the Cancel button the return value is DialogResult.Cancel. Otherwise, it is DialogResult.OK.
Examples
The following example opens the frame fill color dialog for the text control.
var result = textControl.FrameFillColorDialog();
Console.WriteLine($"Frame Fill Color Dialog result: {result}");Dim result = textControl.FrameFillColorDialog()
Console.WriteLine($"Frame Fill Color Dialog result: {result}")