| public class Control: DObject, IWindow
{
public static class ControlCollection
{
public void add(Control ctrl);
public bool contains(Control ctrl);
public int indexOf(Control ctrl);
public int length(); [property getter]
public int opApply(int delegate(inout Control) dg);
public Control opIndex(int i); [property getter]
protected final Control owner(); [property getter]
public void remove(Control ctrl);
public void removeAt(int i);
public this(Control owner);
}
public bool allowDrop(); [property getter]
public void allowDrop(bool byes); [property setter]
public Color backColor(); [property getter]
public void backColor(Color c); [property setter]
public final int bottom(); [property getter]
public final void bounds(Rect r); [property setter]
public final Rect bounds(); [property getter]
public final void bringToFront();
public final void bringUpOne();
public final bool canFocus(); [property getter]
public final bool canSelect(); [property getter]
public final void capture(bool cyes); [property setter]
public final bool capture(); [property getter]
public final Rect clientRectangle(); [property getter]
public final Size clientSize(); [property getter]
public final void clientSize(Size sz); [property setter]
public final bool contains(Control ctrl);
public final bool containsFocus(); [property getter]
public void contextMenu(ContextMenu menu); [property setter]
public ContextMenu contextMenu(); [property getter]
public final ControlCollection controls(); [property getter]
public final void createControl();
protected ControlCollection createControlsInstance();
public final bool created(); [property getter]
public final Graphics createGraphics();
protected void createHandle();
protected void createParams(inout CreateParams cp);
public Cursor cursor(); [property getter]
public void cursor(Cursor cur); [property setter]
public static Color defaultBackColor(); [property getter]
public static Font defaultFont(); [property getter]
public static void defaultFont(ControlFont cf); [property setter]
public static Color defaultForeColor(); [property getter]
protected Size defaultSize(); [property getter]
public void defWndProc(inout Message msg);
public final void delayInvoke(void function(Control, size_t[]) fn, size_t[] params ...);
public final void delayInvoke(void function() fn);
protected void destroyHandle();
public final void disable();
public Rect displayRectangle(); [property getter]
public void dispose();
protected final void dispose(bool managedToo);
public void dock(DockStyle ds); [property setter]
public DockStyle dock(); [property getter]
public final void enable();
public final void enabled(bool byes); [property setter]
public final bool enabled(); [property getter]
public final Form findForm();
public final bool focus();
public bool focused(); [property getter]
public void font(Font f); [property setter]
public Font font(); [property getter]
public void foreColor(Color c); [property setter]
public Color foreColor(); [property getter]
public static Control fromChildHandle(HWND hwChild);
public static Control fromHandle(HWND hw);
public final Size getAutoScaleSize();
public final Size getAutoScaleSize(Font f);
public final Control getChildAtPoint(Point pt);
protected final bool getStyle(ControlStyles flag);
protected final bool getTopLevel();
public final HWindow handle(); [property getter]
public final bool hasChildren(); [property getter]
public final int height(); [property getter]
public final void height(int h); [property setter]
public final void hide();
protected void initLayout();
public final void invalidate(bool andChildren);
public final void invalidate(Region rgn, bool andChildren);
public final void invalidate(Region rgn);
public final void invalidate(Rect r, bool andChildren);
public final void invalidate();
public final void invalidate(Rect r);
public final Object invoke(Object delegate(Object[]) dg, Object[] args ...);
public bool invokeRequired(); [property getter]
public final bool isHandleCreated();
public static bool isMnemonic(dchar charCode, char[] text);
public final void left(int l); [property setter]
public final int left(); [property getter]
public final void location(Point pt); [property setter]
public final Point location(); [property getter]
public static Keys modifierKeys(); [property getter]
public static MouseButtons mouseButtons(); [property getter]
public static Point mousePosition(); [property getter]
public final void name(char[] txt); [property setter]
public final char[] name(); [property getter]
protected void onBackColorChanged(EventArgs ea);
protected void onClick(EventArgs ea);
protected void onContextMenuChanged(EventArgs ea);
protected void onCursorChanged(EventArgs ea);
protected void onDisposed(EventArgs ea);
protected void onDockChanged(EventArgs ea);
protected void onDoubleClick(EventArgs ea);
protected void onEnabledChanged(EventArgs ea);
protected void onFontChanged(EventArgs ea);
protected void onForeColorChanged(EventArgs ea);
protected void onGotFocus(EventArgs ea);
protected void onHandleCreated(EventArgs ea);
protected void onHandleDestroyed(EventArgs ea);
protected void onHelpRequested(HelpEventArgs hea);
protected void onKeyDown(KeyEventArgs kea);
protected void onKeyPress(KeyEventArgs kea);
protected void onKeyUp(KeyEventArgs kea);
protected void onLayout(LayoutEventArgs lea);
protected void onLostFocus(EventArgs ea);
protected void onMouseDown(MouseEventArgs mea);
protected void onMouseEnter(MouseEventArgs mea);
protected void onMouseHover(MouseEventArgs mea);
protected void onMouseLeave(MouseEventArgs mea);
protected void onMouseMove(MouseEventArgs mea);
protected void onMouseUp(MouseEventArgs mea);
protected void onMouseWheel(MouseEventArgs mea);
protected void onMove(EventArgs ea);
protected void onPaint(PaintEventArgs pea);
protected void onPaintBackground(PaintEventArgs pea);
protected void onParentChanged(EventArgs ea);
protected void onReflectedMessage(inout Message m);
protected void onResize(EventArgs ea);
protected void onRightToLeftChanged(EventArgs ea);
protected void onSystemColorsChanged(EventArgs ea);
protected void onTextChanged(EventArgs ea);
protected void onVisibleChanged(EventArgs ea);
public override int opEquals(Object o);
public int opEquals(Control ctrl);
public final void parent(Control c); [property setter]
public final Control parent(); [property getter]
public final void performLayout();
public final void performLayout(Control affectedControl);
public final Point pointToClient(Point pt);
public final Point pointToScreen(Point pt);
public bool preProcessMessage(inout Message msg);
public final Rect rectangleToClient(Rect r);
public final Rect rectangleToScreen(Rect r);
public void refresh();
public final Region region(); [property getter]
public final void region(Region rgn); [property setter]
public void resetBackColor();
public void resetCursor();
public void resetFont();
public void resetForeColor();
public void resetRightToLeft();
public void resetText();
protected final bool resizeRedraw(); [property getter]
public final void resizeRedraw(bool byes); [property setter]
public final void resumeLayout();
public final void resumeLayout(bool byes);
public final int right(); [property getter]
public void rightToLeft(RightToLeft val); [property setter]
public RightToLeft rightToLeft(); [property getter]
public final void select();
protected void select(bool directed, bool forward);
public final void sendBackOne();
public final void sendToBack();
public final void setBounds(int x, int y, int width, int height);
public final void setBounds(int x, int y, int width, int height, BoundsSpecified specified);
protected void setBoundsCore(int x, int y, int width, int height, BoundsSpecified specified);
protected void setClientSizeCore(int width, int height);
protected final void setStyle(ControlStyles flag, bool value);
protected void setVisibleCore(bool byes);
public final void show();
public final Size size(); [property getter]
public final void size(Size sz); [property setter]
public static bool supportsMouseTracking(); [property getter]
public final void suspendLayout();
public final void tabStop(bool byes); [property setter]
public final bool tabStop(); [property getter]
public final Object tag(); [property getter]
public final void tag(Object o); [property setter]
public char[] text(); [property getter]
public void text(char[] txt); [property setter]
public this();
public this(char[] text);
public this(Control cparent, char[] text);
public this(char[] text, int left, int top, int width, int height);
public this(Control cparent, char[] text, int left, int top, int width, int height);
public final int top(); [property getter]
public final void top(int t); [property setter]
public final Control topLevelControl(); [property getter]
public override char[] toString();
public final void update();
protected final void updateStyles();
public final void visible(bool byes); [property setter]
public final bool visible(); [property getter]
public final int width(); [property getter]
public final void width(int w); [property setter]
protected void wndProc(inout Message msg);
public final int zIndex(); [property getter]
public ~this();
public Event(Control,EventArgs) backColorChanged;
public Event(Control,EventArgs) click;
public Event(Control,EventArgs) contextMenuChanged;
public Event(Control,ControlEventArgs) controlAdded;
public Event(Control,ControlEventArgs) controlRemoved;
public Event(Control,EventArgs) cursorChanged;
public Event(Control,EventArgs) disposed;
public Event(Control,EventArgs) dockChanged;
public Event(Control,EventArgs) doubleClick;
public Event(Control,DragEventArgs) dragDrop;
public Event(Control,DragEventArgs) dragEnter;
public Event(Control,EventArgs) dragLeave;
public Event(Control,DragEventArgs) dragOver;
public Event(Control,EventArgs) enabledChanged;
public Event(Control,EventArgs) fontChanged;
public Event(Control,EventArgs) foreColorChanged;
public Event(Control,GiveFeedbackEventArgs) giveFeedback;
public Event(Control,EventArgs) gotFocus;
public Event(Control,EventArgs) handleCreated;
public Event(Control,EventArgs) handleDestroyed;
public Event(Control,HelpEventArgs) helpRequested;
public Event(Control,KeyEventArgs) keyDown;
public Event(Control,KeyEventArgs) keyPress;
public Event(Control,KeyEventArgs) keyUp;
public Event(Control,LayoutEventArgs) layout;
public DWORD ldlgcode;
public Event(Control,EventArgs) lostFocus;
public Event(Control,MouseEventArgs) mouseDown;
public Event(Control,MouseEventArgs) mouseEnter;
public Event(Control,MouseEventArgs) mouseHover;
public Event(Control,MouseEventArgs) mouseLeave;
public Event(Control,MouseEventArgs) mouseMove;
public Event(Control,MouseEventArgs) mouseUp;
public Event(Control,MouseEventArgs) mouseWheel;
public Event(Control,EventArgs) move;
public Event(Control,PaintEventArgs) paint;
public Event(Control,EventArgs) parentChanged;
public Event(Control,QueryContinueDragEventArgs) queryContinueDrag;
public Event(Control,EventArgs) resize;
public Event(Control,EventArgs) rightToLeftChanged;
public Event(Control,EventArgs) systemColorsChanged;
public Event(Control,EventArgs) textChanged;
public Event(Control,EventArgs) visibleChanged;
}
|