コード例 #1
0
        /// <inheritdoc/>
        public override ILoadableComponent Load()
        {
            base.Load();

            // Verify the container element has the k-dropdown class on it.
            if (!ContainerElement.Classes().Contains("k-dropdown"))
            {
                throw new InvalidElementStateException("The container " +
                                                       "element is missing the k-dropdown class.");
            }

            return(this);
        }