我想知道是否有Linux等效的Linux mkfifo.相当于我的意思是使用st_mode S_IFIFO创建文件的方式.谢谢你的回答.
如何将设置中定义的Color Bkg(System.Drawing.Color)与XAML中的Style 绑定?
的xmlns:道具= "CLR的命名空间:App.Properties"
<Style TargetType="{x:Type StackPanel}" x:Key="_itemStyle">
<Setter Property="Background" Value="{Binding Path=Bkg, Source={x:Static props:Settings.Default}}"/>
Run Code Online (Sandbox Code Playgroud)
Background属性是System.Windows.Media.Color类型,所以它需要以某种方式转换?