Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1Window Class
Fields Properties Methods Events


In This Topic
    C1Window Class Members
    In This Topic

    The following tables list the members exposed by C1Window.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of a C1Window.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the ButtonBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ButtonForeground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DialogResult dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsActive dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsDraggable dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsResizable dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Left dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ModalBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MouseOverBrush dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PressedBrush dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowCloseButton dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowMaximizeButton dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ShowMinimizeButton dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Top dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowState dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets or sets the System.Windows.Media.Brush that will be assigned to the Background of the buttons inside the control.  
    Public PropertyGets or sets the System.Windows.Media.Brush that will be assigned to the Foreground of the buttons inside the control.  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the Canvas used to display the window.  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the dialog result for the window.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets or sets the header of this control. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the background brush of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the font family of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the font size of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the font stretch of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the font style of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the font weight of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the foreground brush of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the padding of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets the data template used to display the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets or sets the HorizontalContentAlignment of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets whether the window is the active window.  
    Public PropertyGets or set whether the window can be dragged.  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyReturns true if the mouse is over the control. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public PropertyGets or sets whether the window can be resized and maximized.  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the distance from the left side of the window to the left side of its container.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the brushed used on the background when showing a modal window.  
    Public PropertyGets or sets the System.Windows.Media.Brush used to highlight the control when it has the mouse over.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the System.Windows.Media.Brush used to paint a button when it is pressed.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets whether the maximize button of this window is shown.  
    Public PropertyGets or sets whether the maximize button of this window is shown.  
    Public PropertyGets or sets whether the minimize button of this window is shown.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Propertystatic (Shared in Visual Basic)ResourceDictionary that is applied to the C1Window. Typically used with a copy of a C1Theme used somewhere in the app because in Silverlight, themes are not propagated automatically through un-parented System.Windows.Controls.Primitives.Popup .  
    Public PropertyGets or sets the distance from the top side of the window to the top side of its container.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets or sets the VerticalContentAlignment of the header. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value that indicates whether a window is restored, minimized, or maximized.  
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Windows.Controls.Control)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Call this method when initializing the application to workaround the Popup TransformToVisual bug.  
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodPuts the window in front of all windows.  
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodCenters the window in its container.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodCloses the window.  
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodHides the window without closing it.  
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverridden. Builds the visual tree for the C1Window control when a new template is applied.  
    Public MethodPositions the window so that the specified point in the window matches the specified point of a FrameworkElement.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodOpens the window.  
    Public MethodOpens the window as modal.  
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodUpdates the current visual state of the Active visual state group to match the object's properties.  
    Protected MethodUpdates the current visual state of the Common visual state group to match the object's properties. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Protected MethodUpdates the current visual state of the Drag visual state group to match the object's properties.  
    Protected MethodUpdates the current visual state of the WindowState visual state group to match the object's properties.  
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventEvent fired when the window is closed by the user or the Close method.  
    Public EventEvent fired when the window is about to close, allows the handler to stop the window from being closed.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventEvent raised when the IsActive property has changed.  
    Public Event (Inherited from System.Windows.Controls.Control)
    Public EventEvent raised when the IsMouseOver property has changed. (Inherited from C1.Silverlight.C1HeaderedContentControl)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventFires when the window position changes.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventEvent raised when the WindowState property has changed.  
    Top
    See Also