Skip to main content
A newer version of this page is available. .

ASPxClientHtmlEditorCommandStyleSettings.borderStyle Property

Gets or sets a media element’s border style.

Declaration

borderStyle: string

Property Value

Type Description
string

A string that specifies a border style in any correct format.

Remarks

// Changing the selected image border settings
var image = htmlEditor.GetSelection().GetSelectedElement();
var args = new ASPxClientHtmlEditorChangeImageCommandArguments(htmlEditor, image);
args.styleSettings.borderColor = "red";
args.styleSettings.borderStyle = "solid";
args.styleSettings.dorderWidth = "8px";
htmlEditor.ExecuteCommand(ASPxClientCommandConsts.CHANGEIMAGE_COMMAND, args);
See Also