I have a typing performance issue with WPF Telerik RadRichTextBox. It has some lag, not very much, but if you type fast you can feel it.
Is there any property or some other way of fixing these performance issues?
public static IPainter CreateCheapestSelector(IEnumerable<ProportionalPainter> painters)
{
return new CompositePainter<ProportionalPainter>(painters,
(sqMeters, sequence) => new Painters(sequence).GetAvailable().GetCheapestOne(sqMeters));
}
@ILoveStackoverflow IPainter is the return type - Func generics always have the return type as the last type argument. reduce must be a function which returns an IPainter
If you need a three-argument closure that returns nothing, you want Action<T1,T2,T3>. Func goes as Func<T1,T2,TReturn> - or, if you need, Func<T1,T2,T3,TReturn> (I think up to 8 args)
Oh, I'm wrong. The framework docs list up to 16 args
hey guys, how do you handle queries to database from a WPF app (my app connects to a web api not to the database directly)
I have pagination working correctly, I used a basic json object to send and receive pagination values to a dedicated controller ...should I do the same for queries (like sort, find keyword etc)
We have nothing as we have really 2 people that do our product development and we sit right next to each other. Then we have our IT guys that do internal stuff and they all sit next to each other haha.
@Zarenor well, I'm trying to write custom controls to represent some models. eg.: I have 3 concrete types, they are MouseAction, KeyboardAction and ScriptAction. They all inherit from the Action interface and have different attributes/members. There will be 2 windows, where one you can create actions (one of the above) and the other youll be able to create ActionExecutors. The last contains an Action attribute and a boolean (to determine whether the action should be enabled or not)
so my guess is: shouldnt I create controls, so that they can be reused in both scenarios?