• 个人控件/对象命名规范(慢慢更新)


    自己收集自网络,转载本文请保留来源(否则以后我这边更新了,不写转载来源的坑爹了)

    控件/对象类型 前缀
    AppBar 只有一个:appBar/多个:suffix:XXXAppBar
    AppBarButton btn
    Border brd
    Button btn
    Canvas cnv
    CheckBox chk
    CheckedListBox chl
    ComboBox cmb
    CommandBar 只有一个:appBar/多个:suffix:XXXAppBar
    ContextMenu mnu
    Control ctl
    DatePicker dtp
    DateTimePicker dtp
    DockPanel pnl
    DropDownList ddl
    Flyout suffix:XXXFlyout
    Form frm
    Grid grd
    GridView gvw
    GroupBox grp
    Image img
    Label lbl
    LinkLabel lnk
    ListBox lst
    ListView lvw
    MaskedTextBox mtx
    Menu mnu
    MenuFlyout suffix:XXXFlyout
    MenuItem mnu
    Panel pnl
    PasswordBox pwb
    PictureBox pic
    Popup suffix:XXXPopup
    ProgressBar prg
    ProgressRing prg
    RadioButton rdo
    Repeater rpt
    RichTextBlock rtl
    RichTextBox rtb
    ScrollViewer suffix:XXXScrollViewer
    SearchBox txt
    Slider suffix:XXXSlider
    SplitView svw
    StackPanel pnl
    TextBlock txl
    TextBox txt
    TimePicker dtp
    Timer tmr
    ToolTip tip
    TreeView tvw
    Window win
    WrapPanel pnl
    FlipView fvw

    http://msdn.microsoft.com/en-us/library/aa979151(v=vs.71).aspx
    http://en.wikibooks.org/wiki/C_Sharp_Programming/Naming
    http://www.surfingsuccess.com/asp/net-vb-c-control-naming-conventions.html
    https://support.microsoft.com/kb/173738?wa=wsignin1.0
    http://www.cnblogs.com/flydoos/archive/2011/08/29/2158903.html
    http://cybarlab.blogspot.com/2013/02/standard-naming-convention-for-aspnet.html

  • 相关阅读:
    iOS开发_广告接入
    iOS开发_项目中一次性屏蔽打印多余内容的方法
    iOS开发_屏蔽第三方库FFmpeg的日志输出
    iOS开发_应用项目的架构选型
    iOS开发_多线程_基础知识点
    Xcode13 新建项目后找不到Products目录怎么办?
    Linux教程
    iOS Invalid App Store Icon The App Store Icon can't be transparent nor contain an alpha channel
    FastReport打印DataTable
    windows服务
  • 原文地址:https://www.cnblogs.com/h82258652/p/4212346.html
Copyright © 2020-2023  润新知