fixed #249
This commit is contained in:
1 parent
ca93d62316
commit
e041f73223
1 file changed
+9
-1
@@ -102,7 +102,15 @@ namespace HandyControl.Controls
|
||||
/// </summary>
|
||||
internal TabPanel TabPanel
|
||||
{
|
||||
get => _tabPanel ??= TabControlParent.HeaderPanel;
|
||||
get
|
||||
{
|
||||
if (_tabPanel == null && TabControlParent != null)
|
||||
{
|
||||
_tabPanel = TabControlParent.HeaderPanel;
|
||||
}
|
||||
|
||||
return _tabPanel;
|
||||
}
|
||||
set => _tabPanel = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user