Class VncView
Displays a remote screen using the RFB protocol.
Inheritance
System.Object
VncView
Assembly: MarcusW.VncClient.Avalonia.dll
Syntax
public class VncView : RfbRenderTarget, IRenderTarget, IDisposable, IOutputHandler
Constructors
|
Improve this Doc
View Source
VncView()
Declaration
Fields
|
Improve this Doc
View Source
AutoResizeRemoteProperty
Declaration
public static readonly DirectProperty<VncView, bool> AutoResizeRemoteProperty
Field Value
| Type |
Description |
| DirectProperty<VncView, System.Boolean> |
|
|
Improve this Doc
View Source
ConnectionProperty
Declaration
public static readonly DirectProperty<VncView, RfbConnection> ConnectionProperty
Field Value
|
Improve this Doc
View Source
OptimalSizeProperty
Declaration
public static readonly DirectProperty<VncView, Avalonia.Size?> OptimalSizeProperty
Field Value
| Type |
Description |
| DirectProperty<VncView, System.Nullable<Avalonia.Size>> |
|
Properties
|
Improve this Doc
View Source
AutoResizeRemote
Gets or sets whether the remote view should be automatically resized to fit the current VncView's size (or the OptimalSize).
Declaration
public bool AutoResizeRemote { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Connection
Gets or sets the connection that is shown in this VNC view.
Declaration
public RfbConnection Connection { get; set; }
Property Value
|
Improve this Doc
View Source
OptimalSize
Gets or sets the optimal size value that is used to resize the remote view to make it fit into this optimal size.
If set to null, the size of this VncView itself is used as the optimal size for the remote view.
Declaration
public Avalonia.Size? OptimalSize { get; set; }
Property Value
| Type |
Description |
| System.Nullable<Avalonia.Size> |
|
Methods
|
Improve this Doc
View Source
HandleServerClipboardUpdate(String)
Declaration
public virtual void HandleServerClipboardUpdate(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
|
Improve this Doc
View Source
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
| Type |
Name |
Description |
| KeyEventArgs |
e |
|
|
Improve this Doc
View Source
OnKeyUp(KeyEventArgs)
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
| Type |
Name |
Description |
| KeyEventArgs |
e |
|
|
Improve this Doc
View Source
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
| Type |
Name |
Description |
| RoutedEventArgs |
e |
|
|
Improve this Doc
View Source
OnPointerMoved(PointerEventArgs)
Declaration
protected override void OnPointerMoved(PointerEventArgs e)
Parameters
| Type |
Name |
Description |
| PointerEventArgs |
e |
|
|
Improve this Doc
View Source
OnPointerPressed(PointerPressedEventArgs)
Declaration
protected override void OnPointerPressed(PointerPressedEventArgs e)
Parameters
| Type |
Name |
Description |
| PointerPressedEventArgs |
e |
|
|
Improve this Doc
View Source
OnPointerReleased(PointerReleasedEventArgs)
Declaration
protected override void OnPointerReleased(PointerReleasedEventArgs e)
Parameters
| Type |
Name |
Description |
| PointerReleasedEventArgs |
e |
|
|
Improve this Doc
View Source
OnPointerWheelChanged(PointerWheelEventArgs)
Declaration
protected override void OnPointerWheelChanged(PointerWheelEventArgs e)
Parameters
| Type |
Name |
Description |
| PointerWheelEventArgs |
e |
|
|
Improve this Doc
View Source
OnTextInput(TextInputEventArgs)
Declaration
protected override void OnTextInput(TextInputEventArgs e)
Parameters
| Type |
Name |
Description |
| TextInputEventArgs |
e |
|
|
Improve this Doc
View Source
RingBell()
Handles when the server rings the bell.
Declaration
public virtual void RingBell()
Implements
IDisposable