DataGridViewRow.InheritedStyle 속성

정의

행에 적용되는 셀 스타일을 가져옵니다.

public:
 virtual property System::Windows::Forms::DataGridViewCellStyle ^ InheritedStyle { System::Windows::Forms::DataGridViewCellStyle ^ get(); };
public override System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get; }
member this.InheritedStyle : System.Windows.Forms.DataGridViewCellStyle
Public Overrides ReadOnly Property InheritedStyle As DataGridViewCellStyle

속성 값

DataGridViewCellStyle

행의 셀에 대한 서식 및 스타일 정보를 지정하는 DataGridViewCellStyle입니다.

예외

행이 DataGridView 컨트롤 안에 있고 공유 행인 경우

설명

이 속성은 셀에도 적용 되는 열 스타일에 관계 없이 행의 모든 셀에 적용 되는 셀 스타일을 결정 하는 데 유용 합니다. 행 InheritedStyle 속성은 다음 속성에서 해당 값을 상속합니다.

셀 스타일 상속에 대한 자세한 내용은 Windows Forms DataGridView 컨트롤의 셀 스타일을 참조하세요.

적용 대상

추가 정보