System.Windows.Forms.HexBox.CanCut C# (CSharp) Method

CanCut() public method

Return true if Cut method could be invoked.
public CanCut ( ) : bool
return bool
        public bool CanCut()
        {
            if (ReadOnly || !this.Enabled)
                return false;
            if(_byteProvider == null)
                return false;
            if(_selectionLength < 1 || !_byteProvider.SupportsDeleteBytes())
                return false;

            return true;
        }