TX Text Control .NET for Windows Forms

FrameLineColorDialog Method

Method|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Invokes the built-in dialog box for choosing a color for the frame of a paragraph or a table.

Syntax

public System.Windows.Forms.DialogResult FrameLineColorDialog();

Return 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 line color dialog for the text control.

var result = textControl.FrameLineColorDialog();
Console.WriteLine($"Frame Line Color Dialog result: {result}");