# Expose Functions and Properties From Non-UI Classes to Designer

To expose functions and properties from non-UI classes to Designer, you can use the Published attribute on public properties and methods of the component, or create a public static class for helper methods (static properties cannot be published). In the following example, the category attribute tells Designer how to group the published method:

    [Published, Category("MyCode")]
    public static int Sum(int x, int y) { return x + y; }

Note: INotifyPropertyChanged must be used in order for Designer to know that the property's value has changed.