Created
December 15, 2020 12:30
-
-
Save bjoerntx/4fcd109779045766b8ec78e611a47997 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void RbMyButton_Click(object sender, EventArgs e) { | |
// create a style | |
var styleName = textControl1.CreateStyleFromSelection(); | |
// apply style | |
textControl1.CompareAndApplyStyle(styleName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment