# IpAddressControl **Repository Path**: hacdragon/IpAddressControl ## Basic Information - **Project Name**: IpAddressControl - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-03-23 - **Last Updated**: 2025-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # IpAddressControl WPF IpAddressControl ## IpAddressControl依赖于.Net Framework 4.6.1 如果你需要更低的依赖,你需要更改.Net Framework及部分代码,重新编译。 # IpAddressControl 使用 IpAddressControl使用需要绑定IpAddressViewModel类 ViewModel: public class MainWindowViewModel : BaseViewModel { private IpAddressViewModel _IpAddressViewModel1; public IpAddressViewModel IpAddressViewModel1 { get { return _IpAddressViewModel1; } set { _IpAddressViewModel1 = value; OnPropertyChanged(); } } private IpAddressViewModel _IpAddressViewModel2; public IpAddressViewModel IpAddressViewModel2 { get { return _IpAddressViewModel2; } set { _IpAddressViewModel2 = value; OnPropertyChanged(); } } public MainWindowViewModel() { IpAddressViewModel1 = new IpAddressViewModel(); IpAddressViewModel2 = new IpAddressViewModel(); } } # 运行效果 ![](https://i.imgur.com/8KiElYQ.gif)