How using string format

2 posts, 0 answers
  1. Roman
    Roman avatar
    10 posts
    Member since:
    Mar 2013

    Posted 04 Sep 2013 Link to this post

    How add string format to PropertyAggregateDescription (value + " h")?
    provider.AggregateDescriptions.Add(
    new PropertyAggregateDescription()
     { PropertyName =
    "remaining", CustomName = "Остаток", AggregateFunction = AggregateFunctions.Average }
    );
  2. Roman
    Roman avatar
    10 posts
    Member since:
    Mar 2013

    Posted 04 Sep 2013 Link to this post

    here's how it's done:StringFormat= "0 h"
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top