DesignerAutoFormat.GetPreviewControl メソッド
アセンブリ: System.Design (system.design.dll 内)

Dim instance As DesignerAutoFormat Dim runtimeControl As Control Dim returnValue As Control returnValue = instance.GetPreviewControl(runtimeControl)
- runtimeControl
GetPreviewControl メソッドは、関連付けられている Web サーバー コントロールのコピー返します。

GetPreviewControl メソッドは、Visual Studio 2005 などのビジュアルなデザイナの [オートフォーマット] ダイアログ ボックスで、書式を実際のコントロールに適用する前のデザイン時に、書式設定されたコントロールの実行時プレビューを表示するために使用されます。
ControlDesigner オブジェクトの SupportsPreviewControlAttribute 属性の設定に関係なく、GetPreviewControl メソッドは、runtimeControl パラメータでコントロールのコピーを返します。
継承時の注意 次のような場合は、GetPreviewControl メソッドをオーバーライドできます。

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDesignerAutoFormat.GetPreviewControl メソッドを検索する場合は、下記のリンクをクリックしてください。

- DesignerAutoFormat.GetPreviewControl メソッドのページへのリンク