셀의 선택 여부를 가져오거나 설정합니다.
Namespace: Ntreev.Windows.Forms.GridAssembly: Ntreev.Windows.Forms.Grid (in Ntreev.Windows.Forms.Grid.dll) Version: 1.0.4216.32284
Syntax
C# |
---|
public bool IsSelected { get; set; } |
Visual Basic |
---|
Public Property IsSelected As Boolean Get Set |
Visual C++ |
---|
public: property bool IsSelected { bool get (); void set (bool value); } |
Return Value
선택되어져 있다면 true를, 그렇지 않다면 false를 반환합니다.
Remarks
속성의 값을 true로 설정했다면 선택목록에 이 셀이 추가됩니다. 반대로 false로 설정했다면 선택목록에서 제거됩니다.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | Cell.Row가 사용되지 않거나, 숨겨져 있을때 발생합니다. |