ControlDesigner.ReadOnly プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ControlDesigner.ReadOnly プロパティの意味・解説 

ControlDesigner.ReadOnly プロパティ

メモ : このプロパティは、互換性のために残されています。

コントロールのプロパティがデザイン時に読み取り専用かどうかを示す値を取得または設定します。

名前空間: System.Web.UI.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

<ObsoleteAttribute("The recommended alternative is to inherit
 from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions
 allow for better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202")> _
Public Property ReadOnly
 As Boolean
Dim instance As ControlDesigner
Dim value As Boolean

value = instance.ReadOnly

instance.ReadOnly = value
[ObsoleteAttribute("The recommended alternative is to inherit from ContainerControlDesigner
 instead and to use an EditableDesignerRegion. Regions allow for
 better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202")] 
public bool ReadOnly { get;
 set; }
[ObsoleteAttribute(L"The recommended alternative is to inherit from ContainerControlDesigner
 instead and to use an EditableDesignerRegion. Regions allow for
 better control of the content in the designer. http://go.microsoft.com/fwlink/?linkid=14202")] 
public:
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ReadOnly ()

/** @property */
public void set_ReadOnly (boolean value)

プロパティ値
コントロールのプロパティがデザイン時に読み取り専用である場合は true。それ以外の場合は false。

解説解説

ControlDesigner クラスは、本質的に読み取り専用です。読み書き機能は、DesignerRegion オブジェクトを追加するか、ContainerControlDesigner クラスなどの基本クラスを使用することによって実現します。

メモメモ

ReadOnly プロパティは今後使用しません。ContainerControlDesigner クラスから、編集可能なデザイナ領域を追加できるクラスを派生するか、または TemplatedControlDesigner から、テンプレート内に編集可能なデザイナ領域を作成できるクラスを派生します。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlDesigner クラス
ControlDesigner メンバ
System.Web.UI.Design 名前空間
ControlDesigner クラス
ContainerControlDesigner クラス



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ControlDesigner.ReadOnly プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ControlDesigner.ReadOnly プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS