Skip to content

TextBaseMarkupExtensions.IsReadOnly<T> method

Sets whether the text is read-only.

public static T IsReadOnly<T>(this T target, bool value = true)
where T : TextBase
parameter description
T Receiver type.
target Target TextBase.
value Value assigned to IsReadOnly.

The same element for chaining.

Sets: TextBase.IsReadOnly