셀의 포커스 여부를 가져오거나 설정합니다.

Namespace: Ntreev.Windows.Forms.Grid
Assembly: Ntreev.Windows.Forms.Grid (in Ntreev.Windows.Forms.Grid.dll) Version: 1.0.4216.32284

Syntax

C#
public bool IsFocused { get; set; }
Visual Basic
Public Property IsFocused As Boolean
	Get
	Set
Visual C++
public:
property bool IsFocused {
	bool get ();
	void set (bool value);
}

Return Value

포커스로 설정되었다면 true를, 그렇지 않다면 false를 반환합니다.

Remarks

포커스로 설정할 수 있는 셀은 그리드 컨트롤내에 한개만 설정될 수 있습니다. 속성의 값을 true를 설정했다면 이전의 포커스로 설정된 셀이 현재의 셀로 대체됩니다. 반대로 속성의 값을 false로 설정했다면 그리드 컨트롤내에서는 포커스로 설정된 셀이 없는 상태가 되어버립니다.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionCell.Row가 사용되지 않거나, 숨겨져 있을때 발생합니다.

See Also