示例#1
0
        /// <summary>
        /// Handles changes to the ItemChangedInfo property.
        /// </summary>
        private static void OnItemChangedInfoChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AdaptiveWrapPanel target             = (AdaptiveWrapPanel)d;
            object            oldItemChangedInfo = (object)e.OldValue;
            object            newItemChangedInfo = target.ItemChangedInfo;

            target.OnItemChangedInfoChanged(oldItemChangedInfo, newItemChangedInfo);
        }
示例#2
0
        private static void OnSearchTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AdaptiveWrapPanel target        = (AdaptiveWrapPanel)d;
            string            oldSearchText = (string)e.OldValue;
            string            newSearchText = target.SearchText;

            target.OnSearchTextChanged(oldSearchText, newSearchText);
        }