'Declaration
ReadOnly Property WindowMode As WindowModes
'Usage
Dim instance As IFrame Dim value As WindowModes value = instance.WindowMode
WindowModes WindowMode {get;}
'Declaration
ReadOnly Property WindowMode As WindowModes
'Usage
Dim instance As IFrame Dim value As WindowModes value = instance.WindowMode
WindowModes WindowMode {get;}
void Sample_Frame_WindowMode() { Application app = MyReflection.ActiveApplication; IFrame frame = (IFrame)app.GetObject("Frame"); if (frame.WindowMode == WindowModes.Browser || frame.WindowMode == WindowModes.Ribbon) Console.Write("There are " + frame.ViewCount + " views open within " + "this frame instance.\n"); else Console.Write("Since this frame is in \"classic\" mode, there cannot be more " + "than one session view open in it."); }