Home > Net >  Can custom controls be authored in MAUI like WPF?
Can custom controls be authored in MAUI like WPF?

Time:02-10

.Net WPF has a lot of ways to make custom UIElements, FrameworkElements, Controls & etc. Microsoft Control Authoring

Can analogous custom MAUI elements/controls be created like the WPF ones below?

// numerous base classes
public class CustomElementBase : FrameworkElement { ... }
public class CustomUIElementBase : UIElement { ... }
public class CustomControlBase : Control { ... }

// numerous inherited classes 
public class CustomButtonElement : CustomElementBase { ... }
public class CustomButtonControl : CustomControlBase { ... }

CodePudding user response:

  •  Tags:  
  • Related