Attribute VB_Name = "题注样式" Sub SetCorssRef() 'Word版,设置所有交叉引用的文本的格式 Dim aField As Word.Field For Each aField In ActiveDocument.Fields Debug.Print aField.Result.text If aField.Type = wdFieldRef Then aField.Result.style = "正文" aField.Resu
可以设置控件的Tag为this.skinEngine1.DisableTag [DefaultValue()] [Description("If you do not want skin the control, Set Control's Tag property to this")] public int DisableTag { get; set; } 可以看出来默认值是9999 即设置控件的Tag为9999即可显示单独的样式 不这样的话会发现设置forecolor之类的完全无效