What does the fr unit in a CSS Windows 8 metro style application mean?

Pertaining to your exact question, for this particular example, let’s assume that the total available width for the columns is 1200px. Since the first column width is fixed, it will occupy 638px and the remaining space (562px) will be free. Thus, in this case, 1fr = 562px Now let’s assume your styling is as follows:- … Read more

What is an equivalent method to `GetCustomAttributes` for .NETCore (Windows 8 Framework)?

You need to use type.GetTypeInfo(), which then has various GetCustomAttribute methods (via extension methods), or there is .CustomAttributes which gives you the raw information (rather than materialized Attribute instances). For example: var attribute = type.GetTypeInfo().GetCustomAttribute<WrapperObjectAttribute>(); if(attribute == null) { … } … GetTypeInfo() is the pain of .NETCore for library authors ;p If .GetTypeInfo() doesn’t … Read more

Are Click, Tapped, and PointerPressed synonymous in WinRT-XAML?

Click is there for backwards compatibility, and is essentially the same as Tapped. Tapped is a “high level gesture” that will translate automatically to a click, tap, pen press, etc. and is what I would recommend to use. PointerPressed is not what you want. Here’s why: if I press and hold, the PointerPressed event will … Read more

Visual Studio 100% disk usage

(Comment for others landing here as @Marta explains that the problem no longer persists on their machine.) In general, any performance issue in Visual Studio should be reported to Microsoft. It’s easy to do this directly from VS using the Report a Problem tool. That feature will automatically attach logs/traces which are shared privately with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)