Visual Basic (Declaration) | |
---|---|
Public Property SelectionFont As Font |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Font SelectionFont {get; set;} |
Return Value
A System.Drawing.Font value that represents the font to apply to the current text selection.C# | Copy Code |
---|---|
private void detail_Format(object
sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format |
If the current text selection has more than one font specified, this property is a null reference (Nothing in Visual Basic).