windows-8

Is there any free XMPP library which Supports WinRT?

岁酱吖の 提交于 2020-02-29 05:24:58
问题 Could anyone say me the XMPP library that supports WinRT, I've tried Jabber-Net, agsXMPP, those are not working. . . 回答1: There's no free XMPP library to be used in WinRT. Only avaialable library is Matrix dll. 回答2: I've not tried it, however there is an open-source xmpp library distributed under the lgpl v3, used in a Windows 8 chat app. Here is the library: https://github.com/PaulFreund/xmpp, and here is the app (I think you can use it as a reference): https://github.com/PaulFreund/Chat/ 来源

Is there any free XMPP library which Supports WinRT?

风流意气都作罢 提交于 2020-02-29 05:23:47
问题 Could anyone say me the XMPP library that supports WinRT, I've tried Jabber-Net, agsXMPP, those are not working. . . 回答1: There's no free XMPP library to be used in WinRT. Only avaialable library is Matrix dll. 回答2: I've not tried it, however there is an open-source xmpp library distributed under the lgpl v3, used in a Windows 8 chat app. Here is the library: https://github.com/PaulFreund/xmpp, and here is the app (I think you can use it as a reference): https://github.com/PaulFreund/Chat/ 来源

Is there any free XMPP library which Supports WinRT?

こ雲淡風輕ζ 提交于 2020-02-29 05:23:08
问题 Could anyone say me the XMPP library that supports WinRT, I've tried Jabber-Net, agsXMPP, those are not working. . . 回答1: There's no free XMPP library to be used in WinRT. Only avaialable library is Matrix dll. 回答2: I've not tried it, however there is an open-source xmpp library distributed under the lgpl v3, used in a Windows 8 chat app. Here is the library: https://github.com/PaulFreund/xmpp, and here is the app (I think you can use it as a reference): https://github.com/PaulFreund/Chat/ 来源

How do you bind to the property of a User Control?

心已入冬 提交于 2020-02-27 02:26:34
问题 In Windows Store Apps, you create a user control to encapsulate and reuse code-behind and layout XAML. A simple user control might look like this: <UserControl> <StackPanel> <TextBlock Text="First Name" /> <TextBox x:Name="MyTextBox" /> </StackPanel> </UserControl> Now, I want to setup binding. So I create code-behind with properties that expose the Text properties of the UI controls. Something like this: public string TextBoxText { get { return MyTextBoxText.Text; } set { MyTextBoxText.Text

How do you bind to the property of a User Control?

不羁的心 提交于 2020-02-27 02:26:17
问题 In Windows Store Apps, you create a user control to encapsulate and reuse code-behind and layout XAML. A simple user control might look like this: <UserControl> <StackPanel> <TextBlock Text="First Name" /> <TextBox x:Name="MyTextBox" /> </StackPanel> </UserControl> Now, I want to setup binding. So I create code-behind with properties that expose the Text properties of the UI controls. Something like this: public string TextBoxText { get { return MyTextBoxText.Text; } set { MyTextBoxText.Text

How do you bind to the property of a User Control?

风流意气都作罢 提交于 2020-02-27 02:24:47
问题 In Windows Store Apps, you create a user control to encapsulate and reuse code-behind and layout XAML. A simple user control might look like this: <UserControl> <StackPanel> <TextBlock Text="First Name" /> <TextBox x:Name="MyTextBox" /> </StackPanel> </UserControl> Now, I want to setup binding. So I create code-behind with properties that expose the Text properties of the UI controls. Something like this: public string TextBoxText { get { return MyTextBoxText.Text; } set { MyTextBoxText.Text

Detect the difference between WinRT and Windows 8

依然范特西╮ 提交于 2020-02-24 07:45:07
问题 For statistic tracking, I'd like to be able to tell if the application is running on Windows RT or Windows Pro. This thread says that there's no way to get the system version info: Get OS-Version in WinRT Metro App C# Any ideas? 回答1: One thing you could do is to go to Configuration Manager in Visual Studio and instead of the default Any CPU configuration - create separate ARM/x86/x64 configurations and in project properties/Conditional compilation symbols define a symbol that is different for

The ScrollViewer does not scroll

牧云@^-^@ 提交于 2020-02-13 16:14:45
问题 I would like to have an interface with 3 components one next to the other. The first would be a ListView and the two others being Grids. Since the components will overflow on the right, I want to put them in a ScrollViewer. I did not succeed. I tried to do a really simple example to try, but even the example fails. <ScrollViewer Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="600" Height="400"> <StackPanel Width="1200" Height="400" Orientation=

WinJS are there #DEBUG or #RELEASE directives?

╄→尐↘猪︶ㄣ 提交于 2020-02-06 06:48:26
问题 I would like to exclude some code when using release vs debug. Basically I have an internal admin section for testing that I don't to ever make it into the app store by accident :) Ideally, I would just be able to do something like this: #IF DEBUG <div id="appBar" data-win-control="WinJS.UI.AppBar"> <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdAdmin', label:'Admin', section:'global' }"> </button> </div> #ENDIF 回答1: See here. There is a nuget package here to

WinJS are there #DEBUG or #RELEASE directives?

萝らか妹 提交于 2020-02-06 06:48:20
问题 I would like to exclude some code when using release vs debug. Basically I have an internal admin section for testing that I don't to ever make it into the app store by accident :) Ideally, I would just be able to do something like this: #IF DEBUG <div id="appBar" data-win-control="WinJS.UI.AppBar"> <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdAdmin', label:'Admin', section:'global' }"> </button> </div> #ENDIF 回答1: See here. There is a nuget package here to