Свойство | Тип | Описание | |
---|---|---|---|
Bottom | float | ||
Left | float | ||
Right | float | ||
Top | float |
Метод | Описание | |
---|---|---|
ToString ( ) : string | ||
TranslateToClientRect ( float clientWidth, float clientHeight ) : |
This is just an example, change type to fit whatever UI system you're using for rendering. WinForm uses pixels (int) while WPF uses DPI (float).
|
public TranslateToClientRect ( float clientWidth, float clientHeight ) : |
||
clientWidth | float | |
clientHeight | float | |
Результат |