IsValid() public method

Finds out if range represents valid text range (it's length is greater than zero)
public IsValid ( ) : bool
return bool
Exemplo n.º 1
0
 /// <summary>
 /// Finds out if range represents valid text range (it's length is greater than zero)
 /// </summary>
 /// <returns>True if range is valid</returns>
 public virtual bool IsValid()
 {
     return(TextRange.IsValid(this));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Finds out if range represents valid text range (it's length is greater than zero)
 /// </summary>
 /// <returns>True if range is valid</returns>
 public virtual bool IsValid() => TextRange.IsValid(this);