Пример #1
0
        /// <summary>
        /// Updates the linked next page button.
        /// </summary>
        /// <param name="dependencyObject">The LiveSearchListBox.</param>
        /// <param name="eventArgs">The Dependency Property Changed Event Args.</param>
        private static void NextPageButtonName_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            LiveSearchListBox liveSearchListBox = (LiveSearchListBox)dependencyObject;

            liveSearchListBox.UpdateNextPageButton();
        }
Пример #2
0
        /// <summary>
        /// Refresh the control.
        /// </summary>
        /// <param name="dependencyObject">The LiveSearchListBox.</param>
        /// <param name="eventArgs">The Dependency Property Changed Event Args.</param>
        private static void PageProperty_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            LiveSearchListBox liveSearchListBox = (LiveSearchListBox)dependencyObject;

            liveSearchListBox.Refresh();
        }
Пример #3
0
        /// <summary>
        /// Updates the linked text box.
        /// </summary>
        /// <param name="dependencyObject">The LiveSearchListBox.</param>
        /// <param name="eventArgs">The Dependency Property Changed Event Args.</param>
        private static void TextBoxName_Changed(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs)
        {
            LiveSearchListBox liveSearchListBox = (LiveSearchListBox)dependencyObject;

            liveSearchListBox.UpdateTextBox();
        }