Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Lingo.TranslationWindow

  • Assembly: RT.Lingo, Version=1.0.0.9999, Culture=neutral, PublicKeyToken=null
  • Namespace: RT.Lingo
  • Show inherited types...
  • Show implemented interfaces...

Summary

Interaction logic for TranslationWindow.xaml

Constructors

TranslationWindow(Type translationType, TranslationWindow.Settings settings, ImageSource icon, string programTitle, string moduleName, Language language)
Main constructor.

Instance methods

void
  • Implements: ITranslationDialog.CloseWithoutPrompts()
TODO: comment
void
  • Implements: IComponentConnector.InitializeComponent()
InitializeComponent
void
SaveChanges(bool fireTranslationChanged)
  • Implements: ITranslationDialog.SaveChanges(bool)
TODO: comment
void Shows the form properly: if it is visible but minimized it will be restored and activated; otherwise the base implementation of Show will be invoked.

Instance properties

bool
  • Implements: ITranslationDialog.AnyChanges
Gets a value indicating whether any changes have been made by the user since the last save.
boolDetermines whether the current managed form is maximised, or is minimised and would be maximised if restored.
boolTo make the window maximized by default (i.e. on first run, before the user has had a chance to move/resize the window), override this property and return true. This property is read from the window constructor. Do not use XAML to set Maximized to true because ManagedWindow will not be able to override that without flicker (and thus doesn't support that at all).
boolDetermines if the current managed form is minimised.
doubleGets the height of the form when in normal state (i.e. not minimized or maximized).
doubleGets the X-coordinate of the form when in normal state (i.e. not minimized or maximized).
doubleGets the Y-coordinate of the form when in normal state (i.e. not minimized or maximized).
doubleGets the width of the form when in normal state (i.e. not minimized or maximized).

Events

Action<TranslationBase> Fires every time the translation is updated on the disk (i.e. when the user clicks either "Save & Close" or "Apply changes").

Nested types

Holds the settings of the TranslationForm<TTranslation>.
Stores the size, position and maximized state of the form.