共用方式為


DataGridViewImageCell.DataGridViewImageCellAccessibleObject.Value 屬性

定義

會得到一個字串,代表擁有格子的格式化值。

public:
 virtual property System::String ^ Value { System::String ^ get(); void set(System::String ^ value); };
public override string Value { get; set; }
public override string? Value { get; set; }
member this.Value : string with get, set
Public Overrides Property Value As String

屬性值

String 儲存格值的表示。

例外狀況

該財產的 Owner 價值為 null

備註

屬性 Value 包含一個字串,代表該單元 FormattedValue 屬性的值。 對於型別, DataGridViewImageCell.DataGridViewImageCellAccessibleObject 這通常是值的字串表示 FormattedValueType

設定這個屬性不會有影響。

適用於

另請參閱