Can i do a silverlight app without window??
I need somthing like a top bar (Always On Top) of windows rem开发者_运维知识库ote desktop.
Any Chances???
Silverlight 4, within a trusted out of browser application, supports showing a window as always on top, and customizing the window's chrome (with some limitations).
void MainPage_Loaded(object sender, RoutedEventArgs e)
{
    if (App.Current.HasElevatedPermissions && && Application.Current.IsRunningOutOfBrowser)
    {
        Dispatcher.BeginInvoke(() =>
        {
            App.Current.Host.Content.TopMost = true;
        });
    }
}
In the out of browser settings (Project Properties/Silverlight/Out of Browser Settings...), select the option that you want, maybe Borderless Round Corners for example.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论