Show / Hide Table of Contents

Enum DFlags

Flags for dialog.show and similar functions.

[Flags]
public enum DFlags

Namespace: Au.Types
Assembly: Au.dll

Fields

Name Description
CenterMouse

Show the dialog at the mouse position.

CenterOwner

Show the dialog in the center of the owner window.

CommandLinks

Display custom buttons as a column of command-links, not as a row of classic buttons. Command links can have multi-line text. The first line has bigger font. More info about custom buttons: dialog.show.

ExpandDown

Show expanded text in footer.

RawXY

x y are relative to the primary screen (ignore dialog.Screen etc). More info: dialog.SetXY.

Wider

Set dialog.Width = 700.

XCancel

Allow to cancel even if there is no Cancel button. It adds X (Close) button to the title bar, and also allows to close the dialog with the Esc key. When the dialog is closed with the X button or Esc, the returned result button id is 0 if there is no Cancel button; else the same as when clicked the Cancel button.

Extension Methods

ExtMisc.HasAny<DFlags>(DFlags, DFlags)
ExtMisc.Has<DFlags>(DFlags, DFlags)
ExtMisc.SetFlag<DFlags>(ref DFlags, DFlags, bool)