Gets or sets the distance between the inner top edge of an object and the top edge of its container.
int Top { get; set; }
Example
VB.NET:
Sub TopExample()
Dim Frame As Window
Dim w1 As Window = _
Extensibility.Windows.Item(Constants.HydraWindowKindSolutionExplorer)
Dim w2 As Window = Extensibility.Windows.Item(Constants.HydraWindowKindOutput)
' Create a linked window frame and dock Solution Explorer
' and the Ouput window together inside it.
Frame = Extensibility.Windows.CreateLinkedWindowFrame(w1, w2, _
HydraLinkedWindowType.HydraLinkedWindowTypeDocked)
MsgBox("Total number of windows in the linked window frame: " & _
Frame.LinkedWindows.Count)
' View some window properties.
MsgBox("Window ObjectKind property value: " & Frame.ObjectKind)
MsgBox("Window Caption: " & Frame.Caption)
' Resize the entire linked window frame.
Frame.Width = 500
Frame.Height = 600
Frame.Left = 100
Frame.Top = 100
MsgBox("Frame height, width, and position changed.")
End Sub
See also:
Window | EnvironmentDevTools | HydraDesigner.Shell© CloudIDEaaS, 1996-2022 • Updated: 12/01/22
Comment or report problem with topic