本文整理汇总了C#中System.Windows.Controls.DataPager类的典型用法代码示例。如果您正苦于以下问题:C# DataPager类的具体用法?C# DataPager怎么用?C# DataPager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DataPager类属于System.Windows.Controls命名空间,在下文中一共展示了DataPager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnApplyTemplate
public override void OnApplyTemplate()
{
if (MapDetailsControl != null)
{
MapDetailsControl.MapDetailsChanged -= RaiseMapDetailsChanged;
MapDetailsControl.MapSelectedForOpening -= RaiseMapSelectedForOpening;
}
if (ResultsListBox != null)
ResultsListBox.SelectionChanged -= ResultListBox_SelectionChanged;
base.OnApplyTemplate();
MapDetailsControl = GetTemplateChild("MapDetailsControl") as MapDetailsControl;
ResultsListBox = GetTemplateChild("ResultsListBox") as ListBox;
SearchResultsTextBlock = GetTemplateChild("SearchResultsTextBlock") as TextBlock;
DataPager = GetTemplateChild("DataPager") as DataPager;
if (MapDetailsControl != null)
{
MapDetailsControl.MapDetailsChanged += RaiseMapDetailsChanged;
MapDetailsControl.MapSelectedForOpening += RaiseMapSelectedForOpening;
}
if (ResultsListBox != null)
{
ResultsListBox.SelectionChanged += ResultListBox_SelectionChanged;
ResultsListBox.DataContext = this;
}
if (_isDirty)
GenerateResults();
}
示例2: DataPagerAutomationPeer
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Windows.Automation.Peers.DataPagerAutomationPeer" /> class.
/// </summary>
/// <param name="owner">
/// The <see cref="T:System.Windows.Controls.DataPager" /> that is associated with this <see cref="T:System.Windows.Automation.Peers.DataPagerAutomationPeer" />.
/// </param>
public DataPagerAutomationPeer(DataPager owner)
: base(owner)
{
if (owner == null)
{
throw new ArgumentNullException("owner");
}
this.InitializeProperties();
}
示例3: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/bing;component/StiriDesign.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
this.dataGrid1 = ((System.Windows.Controls.DataGrid)(this.FindName("dataGrid1")));
this.dataPager1 = ((System.Windows.Controls.DataPager)(this.FindName("dataPager1")));
}
示例4: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E7%94%A8%E6%88%B7%E5%B9%B4%E7%94%A8%E6%B0%94%E9%87%8F%E8%A1%A8.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.search = ((Com.Aote.ObjectTools.SearchObject)(this.FindName("search")));
this.userfileslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
this.userfiles = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
}
示例5: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightApplication1;component/MainPage.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.StackPanel)(this.FindName("LayoutRoot")));
this.searchSalesData = ((System.Windows.Controls.AutoCompleteBox)(this.FindName("searchSalesData")));
this.dgSales = ((System.Windows.Controls.DataGrid)(this.FindName("dgSales")));
this.dgSalesPager = ((System.Windows.Controls.DataPager)(this.FindName("dgSalesPager")));
this.sliderPager = ((System.Windows.Controls.Slider)(this.FindName("sliderPager")));
this.sliderSalesAmount = ((System.Windows.Controls.Slider)(this.FindName("sliderSalesAmount")));
this.sliderSalesForecast = ((System.Windows.Controls.Slider)(this.FindName("sliderSalesForecast")));
this.gdWrap = ((System.Windows.Controls.Grid)(this.FindName("gdWrap")));
this.wrapPanelSales = ((System.Windows.Controls.WrapPanel)(this.FindName("wrapPanelSales")));
}
示例6: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/Segator.Loms.Modules.Dispatcher.Silverlight;component/Silverlight/Reservations/R" +
"eservationsView.xaml", System.UriKind.Relative));
this.PageLoadEvent = ((System.Windows.Interactivity.InvokeCommandAction)(this.FindName("PageLoadEvent")));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.popUpSettings = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popUpSettings")));
this.popUpSearch = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popUpSearch")));
this.dgDispatch = ((System.Windows.Controls.DataGrid)(this.FindName("dgDispatch")));
this.pagerDispatch = ((System.Windows.Controls.DataPager)(this.FindName("pagerDispatch")));
this.btnPrint = ((System.Windows.Controls.Button)(this.FindName("btnPrint")));
this.btnAlerts = ((System.Windows.Controls.Button)(this.FindName("btnAlerts")));
this.btnReservation = ((System.Windows.Controls.Button)(this.FindName("btnReservation")));
}
示例7: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E6%9F%A5%E8%AF%A2.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.pageResource = ((Com.Aote.Marks.ResourceLoad)(this.FindName("pageResource")));
this.areafileslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("areafileslist")));
this.conditionlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("conditionlist")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.areafilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("areafilesearch")));
this.condition = ((System.Windows.Controls.ComboBox)(this.FindName("condition")));
this.areasearchbutton = ((System.Windows.Controls.Button)(this.FindName("areasearchbutton")));
this.areafiles = ((System.Windows.Controls.DataGrid)(this.FindName("areafiles")));
}
示例8: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E5%85%AC%E5%91%8A%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.gonggao = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("gonggao")));
this.annexlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("annexlist")));
this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
this.pipelines = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
this.pipelineslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
this.pipeline = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
}
示例9: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E7%94%A8%E6%B0%94%E5%9C%B0%E5%9D%80%E5%89%AF%E6%9C%AC.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.pageResource = ((Com.Aote.Marks.ResourceLoad)(this.FindName("pageResource")));
this.openchild = ((Com.Aote.ObjectTools.ChildWindowObj)(this.FindName("openchild")));
this.applysearch = ((System.Windows.Controls.Grid)(this.FindName("applysearch")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.applys = ((System.Windows.Controls.DataGrid)(this.FindName("applys")));
this.applyslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("applyslist")));
this.apply = ((System.Windows.Controls.DockPanel)(this.FindName("apply")));
this.applygo = ((Com.Aote.ObjectTools.GasADObject)(this.FindName("applygo")));
this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
}
示例10: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E6%8A%84%E8%A1%A8%E5%BD%95%E5%85%A5%E4%BF%AE%E6%94%B9.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.scbdw = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("scbdw")));
this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
this.searchHandUserUnit = ((System.Windows.Controls.StackPanel)(this.FindName("searchHandUserUnit")));
this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
this.handUserUnits = ((System.Windows.Controls.DataGrid)(this.FindName("handUserUnits")));
this.personlist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("personlist")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.handUserUnit = ((System.Windows.Controls.Grid)(this.FindName("handUserUnit")));
this.deletettip = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
}
示例11: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E9%9D%9E%E6%B0%91%E7%94%A8%E6%8A%84%E8%A1%A8%E4%BF%A1%E6%81%AF%E5%88" +
"%97%E8%A1%A8.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
this.fmylist = ((System.Windows.Controls.DataGrid)(this.FindName("fmylist")));
this.userfilesgo = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfilesgo")));
this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
this.userfilego = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
}
示例12: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E5%8F%91%E7%A5%A8%E4%BF%A1%E6%81%AF%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
this.fpinfossearch = ((System.Windows.Controls.DockPanel)(this.FindName("fpinfossearch")));
this.zhikong = ((System.Windows.Controls.Button)(this.FindName("zhikong")));
this.Comboxfx = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
this.fpinfossearchbutton_Copy = ((System.Windows.Controls.Button)(this.FindName("fpinfossearchbutton_Copy")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.fpinfos = ((System.Windows.Controls.DataGrid)(this.FindName("fpinfos")));
this.fpinfoslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("fpinfoslist")));
this.fpinfo = ((System.Windows.Controls.Grid)(this.FindName("fpinfo")));
this.fpinfosgo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosgo")));
}
示例13: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E6%A0%A1%E8%A1%A8.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.rect = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("rect")));
this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.rectifysearch = ((System.Windows.Controls.Grid)(this.FindName("rectifysearch")));
this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
this.rectifies = ((System.Windows.Controls.DataGrid)(this.FindName("rectifies")));
this.rectifieslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("rectifieslist")));
this.rectifyinfo = ((System.Windows.Controls.DockPanel)(this.FindName("rectifyinfo")));
this.rectifyItem = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("rectifyItem")));
}
示例14: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/CRUDServicoMedico.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.servicoMedicoSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("servicoMedicoSetDomainDataSource")));
this.lblTitulo = ((System.Windows.Controls.Label)(this.FindName("lblTitulo")));
this.servicoMedicoSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("servicoMedicoSetDataGrid")));
this.codigoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("codigoColumn")));
this.descricaoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("descricaoColumn")));
this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn")));
this.precoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("precoColumn")));
this.pgrServicoMedico = ((System.Windows.Controls.DataPager)(this.FindName("pgrServicoMedico")));
this.btnRegistrar = ((System.Windows.Controls.Button)(this.FindName("btnRegistrar")));
this.dfrServico = ((System.Windows.Controls.DataForm)(this.FindName("dfrServico")));
this.btnDeletar = ((System.Windows.Controls.Button)(this.FindName("btnDeletar")));
}
示例15: InitializeComponent
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
"nent/Pages/%E4%BF%AE%E6%94%B9%E5%8F%91%E7%A5%A8%E7%8A%B6%E6%80%81.xaml", System.UriKind.Relative));
this.fpinfosgo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosgo")));
this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
this.fpinfossearch = ((System.Windows.Controls.DockPanel)(this.FindName("fpinfossearch")));
this.fpinfossearchbutton = ((System.Windows.Controls.Button)(this.FindName("fpinfossearchbutton")));
this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
this.fpinfos = ((System.Windows.Controls.DataGrid)(this.FindName("fpinfos")));
this.fpinfoslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("fpinfoslist")));
this.fpinfo = ((System.Windows.Controls.Grid)(this.FindName("fpinfo")));
this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
}