Mahdi Hosseini

Results 296 comments of Mahdi Hosseini

I am comfortable with the current design, however renaming the header and footer will be better, but I disagree with simplifying the title bar and removing the pane button, if...

> XamlRoot.ContentIslandEnvironment.AppWindowId can be also be used here. However, I think functionality should be added to get the XAML window from a UIElement. excelent, is there any limitation or Are...

also there is another way if there is no uielement! ``` public static AppWindow GetCurrentAppWindow() { var tops = GetProcessWindowList(); var firstWinUI3 = tops.FirstOrDefault(w => w.ClassName == "WinUIDesktopWin32WindowClass"); var windowId...

For c# you can use this, i am working on new version which will be better https://github.com/WinUICommunity/WinUICommunity-Templates

Hi @batzen Your example was very complex (at least for me) I used another code. I was able to show SnapLayout But I see the problems you mentioned earlier ![00](https://user-images.githubusercontent.com/9213496/139677361-589fb42f-b28a-404a-9c5f-2842e86dedaa.gif)...

> Hi, @ghost1372 . i have checked your code in my c# wpf application ,i am getting compile time error . can you tell me or provide any sample for...

> Hi, @ghost1372 , i have checked your given link in my apps, my apps does not return IntPtr(HTMAXBUTTON) results. You have to pay attention to the **HwndSourceHook** function and...

@sachinkumarrajak08 yes i have this issue too, also you mouse hover not working for max button

Hi @Pomianowski Thank you your code worked fine, But there is one problem One click on titlebar maximizes Window ![01](https://user-images.githubusercontent.com/9213496/143905825-d98546b9-06c8-4a37-afca-934d0a973865.gif) and Do you have any solution for button hover? ![03](https://user-images.githubusercontent.com/9213496/143905944-640df780-9a15-4531-9b16-538821462cbc.gif)