IRhinoUiDialogService

public interface IRhinoUiDialogService
Used by Rhino.UI.Dialogs to access generic Eto dialogs from Rhino Common

Methods

DetectColorScheme

#Since v8.2
void DetectColorScheme(out bool defaultLightMode, out bool defaultDarkMode)
defaultLightMode (out bool)
defaultDarkMode (out bool)

IconFromResourceId

#Since v8.0
Icon IconFromResourceId(Assembly iconAssembly, string iconResourceId)
iconAssembly (Assembly)
iconResourceId (string)

SetToDefaultColorScheme

#Since v8.2
bool SetToDefaultColorScheme(bool dark)
dark (bool)

ShowCheckListBox

#Since v6.0
bool[] ShowCheckListBox(string title, string message, IList items, IList<bool> checkState)
title (string)
message (string)
items (IList)
checkState (IList<bool>)

ShowComboListBox

#Since v6.0
object ShowComboListBox(string title, string message, IList items)
title (string)
message (string)
items (IList)

ShowEditBox

#Since v6.0
bool ShowEditBox(string title, string message, string defaultText, bool multiline, out string text)
title (string)
message (string)
defaultText (string)
multiline (bool)
text (out string)

ShowLineTypes

#Since v8.0
Guid ShowLineTypes(string title, string message, RhinoDoc doc, Guid selectedLinetypeId)
title (string)
message (string)
doc (RhinoDoc)
selectedLinetypeId (Guid)

ShowLineTypes

#Since v6.7
object ShowLineTypes(string title, string message, RhinoDoc doc)
title (string)
message (string)
doc (RhinoDoc)

ShowListBox

#Since v6.0
object ShowListBox(string title, string message, IList items, object selectedItem)
title (string)
message (string)
items (IList)
selectedItem (object)

ShowMultiListBox

#Since v6.10
string[] ShowMultiListBox(IList<string> items, string message, string title, IList<string> defaults)
items (IList<string>)
message (string)
title (string)
defaults (IList<string>)

ShowNumberBox

#Since v6.0
bool ShowNumberBox(string title, string message, ref double number, double minimum, double maximum)
title (string)
message (string)
number (ref double)
minimum (double)
maximum (double)

ShowPopupMenu

#
int ShowPopupMenu(string[] arrItems, int[] arrModes, int? screenPointX, int? screenPointY)
arrItems (string[])
arrModes (int[])
screenPointX (int?)
screenPointY (int?)

ShowPrintWidths

#Since v8.0
double ShowPrintWidths(string title, string message, double selectedWidth)
title (string)
message (string)
selectedWidth (double)

ShowPrintWidths

#Since v8.0
double ShowPrintWidths(string title, string message)
title (string)
message (string)

ShowPropertyListBox

#Since v8.0
string[] ShowPropertyListBox(string title, string message, IList items, IList<string> values)
title (string)
message (string)
items (IList)
values (IList<string>)

ShowPropertyListBox

#
string[] ShowPropertyListBox(string title, string message, List<KeyValuePair<string, string>> items)
title (string)
message (string)
items (List<KeyValuePair<string, string>>)