WPF TextBox select content on mouse click

For WPF TextBox I need to select all content of it in case of mouse click on it (in “real life” it will be touch on touchpad monitor).
For test I created simple project and check the solutions on Stackoverflow. I found several cases but they doesn’t work. Please help me? My project on Github: https://github.com/cheffcook/CustomTextBox2

P.S. About OnKeyDown – I just test another functionality

ExtendedTextBox.cs

using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace CustomTextBox
{
    public class ExtendedTextBox : TextBox
    {
        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (TextProperty != null && e.Key == Key.Enter) 
            {
                GetBindingExpression(TextProperty)?.UpdateSource();
            }
        }

        protected override void OnGotFocus(RoutedEventArgs e)
        {
            base.OnGotFocus(e);
            SelectAll();
        }

        /*protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
        {
            base.OnGotKeyboardFocus(e);
            SelectAll();
        }*/

        protected override void OnMouseUp(MouseButtonEventArgs e)
        { 
            base.OnMouseUp(e);
            Focus();
        }
    }
}

MainWindow.xaml

<Window x:Class="CustomTextBox.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:localVM="clr-namespace:CustomTextBox"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Window.DataContext>
        <localVM:MainViewModel/>
    </Window.DataContext>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        
        <Button Grid.Row="0" Grid.Column="0" Height="40" Width="80" Content="Nothing" HorizontalAlignment="Left" />
        <Label Grid.Row="1" Grid.Column="1" FontSize="20" Content="{Binding CustomValue1}" />
        <Label Grid.Row="2" Grid.Column="1" FontSize="20" Content="{Binding CustomValue2}" />
        <Label Grid.Row="3" Grid.Column="1" FontSize="20" Content="{Binding CustomValue3}" />
        <localVM:ExtendedTextBox Grid.Row="1" Grid.Column="0" FontSize="20" Text="{Binding CustomValue1}" />
        <localVM:ExtendedTextBox Grid.Row="2" Grid.Column="0" FontSize="20" Text="{Binding CustomValue2}" />
        <localVM:ExtendedTextBox Grid.Row="3" Grid.Column="0" FontSize="20" Text="{Binding CustomValue3}" />
    </Grid>
</Window>

MainViewModel.cs

using Prism.Mvvm;

namespace CustomTextBox
{
    internal class MainViewModel : BindableBase
    {
        private float _customValue1;
        public float CustomValue1
        {
            get => _customValue1;
            set => SetProperty(ref _customValue1, value, nameof(CustomValue1));
        }

        private float _customValue2;
        public float CustomValue2
        {
            get => _customValue2;
            set => SetProperty(ref _customValue2, value, nameof(CustomValue2));
        }

        private float _customValue3;
        public float CustomValue3
        {
            get => _customValue3;
            set => SetProperty(ref _customValue3, value, nameof(CustomValue3));
        }

        public MainViewModel()
        {
            CustomValue1 = 12.3f;
            CustomValue2 = 45.6f;
            CustomValue3 = 78.9f;
        }
    }
}

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật