28 lines
839 B
C#
28 lines
839 B
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace VisionUI.RecipeMenu
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for UCVisionRecipeMenuView.xaml
|
|
/// </summary>
|
|
public partial class UCVisionRecipeMenuView : UserControl {
|
|
/// <summary>
|
|
/// 생성자
|
|
/// </summary>
|
|
public UCVisionRecipeMenuView() {
|
|
InitializeComponent();
|
|
}
|
|
private void ucVisionRecipeMenuView_SizeChanged(object sender, SizeChangedEventArgs e) {
|
|
// size 에 따른 control 수정
|
|
if (UnitSubsysSelect.Content is null) {
|
|
UnitSubsysSelect.Content = new UCUnitSubsysSelect() { DataContext = this.DataContext };
|
|
}
|
|
}
|
|
}
|
|
}
|