From 1c3e5bc50d3045d51cb9a9f747d53442b82d9e2c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 27 十二月 2024 17:50:22 +0800 Subject: [PATCH] 资产修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/00-core/LayViewEx.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/00-core/LayViewEx.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/00-core/LayViewEx.cs index 71bed38..6f8e96d 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/00-core/LayViewEx.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/00-core/LayViewEx.cs @@ -15,7 +15,7 @@ layoutView1.Appearance.FieldEditingValue.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; layoutView1.Appearance.FieldValue.Options.UseTextOptions = true; layoutView1.Appearance.FieldValue.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - + layoutView1.OptionsBehavior.ScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto; layoutView1.OptionsCustomization.AllowFilter = false; layoutView1.OptionsCustomization.AllowSort = false; @@ -31,6 +31,18 @@ layoutView1.OptionsView.ViewMode = DevExpress.XtraGrid.Views.Layout.LayoutViewMode.MultiColumn; layoutView1.OptionsView.ContentAlignment = ContentAlignment.MiddleCenter; layoutView1.OptionsView.AllowHotTrackFields = false; + + + } + + public static void SetFindPanel(this LayoutView layoutView1) + { + layoutView1.ShowFindPanel(); + layoutView1.OptionsFind.ShowCloseButton = false; + layoutView1.OptionsFind.ShowFindButton = false; + layoutView1.OptionsFind.FindNullPrompt = "鎼滅储"; + + } } -- Gitblit v1.9.3