Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }