/// <summary> /// Configures the client events for the splitter. /// </summary> /// <param name="configureClientEvents">The action that configures the client events.</param> /// <example> /// <code lang="CS"> /// <%= Html.Telerik().Splitter() /// .Name("Splitter") /// .ClientEvents(events => events /// .OnLoad("onLoad") /// ) /// %> /// </code> /// </example> public SplitterBuilder ClientEvents(Action <SplitterClientEventsBuilder> configureClientEvents) { Guard.IsNotNull(configureClientEvents, "configureClientEvents"); var clientEventsBuilder = new SplitterClientEventsBuilder(Component.ClientEvents); configureClientEvents(clientEventsBuilder); return(this); }
public SplitterClientEventsBuilderTests() { clientEvents = new SplitterClientEvents(); builder = new SplitterClientEventsBuilder(clientEvents); }