Example #1
0
        protected void OnSelectedIndexChanged(UIComponent component, int e)
        {
            if (this.SelectedIndexChanged != null)
            {
                PropChangedEventArgs <int> args = new PropChangedEventArgs <int>("SelectedIndex", e);

                this.SelectedIndexChanged(this, args);
            }
        }
Example #2
0
        protected void OnScrollPositionChanged(UIComponent component, Vector2 e)
        {
            if (this.ScrollPositionChanged != null)
            {
                PropChangedEventArgs <Vector2> args = new PropChangedEventArgs <Vector2>("ScrollPosition", e);

                this.ScrollPositionChanged(this, args);
            }
        }
Example #3
0
        protected void OnTextChanged(UIComponent component, string e)
        {
            if (this.TextChanged != null)
            {
                PropChangedEventArgs <string> args = new PropChangedEventArgs <string>("Text", e);

                this.TextChanged(this, args);
            }
        }
Example #4
0
        protected void OnPasswordCharacterChanged(UIComponent component, string e)
        {
            if (this.PasswordCharacterChanged != null)
            {
                PropChangedEventArgs <string> args = new PropChangedEventArgs <string>("PasswordCharacter", e);

                this.PasswordCharacterChanged(this, args);
            }
        }
Example #5
0
        protected void OnReadOnlyChanged(UIComponent component, bool e)
        {
            if (this.IsReadOnlyChanged != null)
            {
                PropChangedEventArgs <bool> args = new PropChangedEventArgs <bool>("IsReadOnly", e);

                this.IsReadOnlyChanged(this, args);
            }
        }
Example #6
0
        protected void OnSpriteNameChanged(UIComponent component, string e)
        {
            if (this.SpriteNameChanged != null)
            {
                PropChangedEventArgs <string> args = new PropChangedEventArgs <string>("SpriteName", e);

                this.SpriteNameChanged(this, args);
            }
        }
Example #7
0
        protected void OnValueChanged(UIComponent component, float e)
        {
            if (this.ValueChanged != null)
            {
                PropChangedEventArgs <float> args = new PropChangedEventArgs <float>("Value", e);

                this.ValueChanged(this, args);
            }
        }