Class OTZUserControl
OTZ ユーザーコントロールの機能を提供します。
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
OTZUserControl
Implements
名前空間: OTZControls.Controls
アセンブリ: OTZControls.dll
Syntax
public class OTZUserControl : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IOTZControl
コンストラクタ
OTZUserControl()
コンストラクタ
宣言
public OTZUserControl()
プロパティ
ColorTable
カラーテーブルを取得または設定します。
宣言
[Browsable(false)]
public OTZControlColorTableBase ColorTable { get; set; }
プロパティ値
型 | 説明 |
---|---|
OTZControlColorTableBase | カラーテーブル。 |
Dialog
ダイアログを取得または設定します。
宣言
protected OTZMessageDialog Dialog { get; set; }
プロパティ値
型 | 説明 |
---|---|
OTZMessageDialog |
DrawBorder
枠線を描画するかどうかを取得または設定します。
宣言
public bool DrawBorder { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Boolean |
IsStartUpDpiChanged
宣言
protected bool IsStartUpDpiChanged { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Boolean |
Padding
コントロールのパディングを取得または設定します。
宣言
public Padding Padding { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Windows.Forms.Padding |
Theme
テーマを取得または設定します。
宣言
public virtual OTZControlThemeType Theme { get; set; }
プロパティ値
型 | 説明 |
---|---|
OTZControlThemeType |
メソッド
Dispose(Boolean)
使用中のリソースをすべてクリーンアップします。
宣言
protected override void Dispose(bool disposing)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Boolean | disposing | マネージド リソースを破棄する場合は true を指定し、その他の場合は false を指定します。 |
オーバーライド
System.Windows.Forms.ContainerControl.Dispose(System.Boolean)
OnDpiChangedAfterParent(EventArgs)
宣言
protected override void OnDpiChangedAfterParent(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e |
OnPaint(PaintEventArgs)
Paint イベントを発生させます。
宣言
protected override void OnPaint(PaintEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |
オーバーライド
System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs)
RescaleDpiChangedControl(Int32)
宣言
public void RescaleDpiChangedControl(int dpi)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Int32 | dpi |
RescaleDpiChangedControl(Control, Int32)
宣言
public void RescaleDpiChangedControl(Control control, int dpi)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Windows.Forms.Control | control | |
System.Int32 | dpi |
SetControlSize100(Control)
宣言
protected void SetControlSize100(Control control)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Windows.Forms.Control | control |
SetControlSize100(Control, Nullable<Font>, OTZBoundsSpecifiedType)
宣言
protected void SetControlSize100(Control control, Font? font, OTZBoundsSpecifiedType boundsSpecified)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Windows.Forms.Control | control | |
System.Nullable<Font> | font | |
OTZBoundsSpecifiedType | boundsSpecified |
UpdateChildControlTheme(Control.ControlCollection)
指定したコントロールに配置されているコントロールのテーマを変更します。
宣言
protected void UpdateChildControlTheme(Control.ControlCollection controls)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Windows.Forms.Control.ControlCollection | controls |