AjaxControlToolkit.Accordion.OnBubbleEvent C# (CSharp) Méthode

OnBubbleEvent() protected méthode

protected OnBubbleEvent ( object source, EventArgs args ) : bool
source object
args System.EventArgs
Résultat bool
        protected override bool OnBubbleEvent(object source, EventArgs args)
        {
            var handled = false;
            var accordionArgs = args as AccordionCommandEventArgs;
            if(accordionArgs != null) {
                OnItemCommand(accordionArgs);
                handled = true;
            }
            return handled;
        }