This is a migrated thread and some comments may be shown as answers.

Outlook template changing the ItemsSource

1 Answer 13 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Khoa
Top achievements
Rank 1
Khoa asked on 08 Oct 2018, 11:40 AM

Hi,

How can I change ItemsSource in the outlook template?

At the moment, it seems like the e-mails shown in the data-grid is retrieved through the Outlook Section. 

How can I bind data independent of the outlook section? Because I'm thinking of removing the OutlookBar and OutlookItem (Panel of the left side), and this makes the e-mails from the data-grid disapp

 

        private static ObservableCollection<ContractGroup> _contractGroup;

        public static ObservableCollection<Contract> GetContracts(int size, string keyword)
        {
            var contracts = new ObservableCollection<Contract>();
            for (int i = 1; i <= size; i++)
            {
                XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();

                contracts.Add(new Contract() { Symbol = test
            }

            return contracts;
        }

 

I want to retrieve the contracts,directly from the SampleContentService, how can I do this?

1 Answer, 1 is accepted

Sort by
0
Khoa
Top achievements
Rank 1
answered on 15 Oct 2018, 11:15 AM
Delete this post please.
Tags
GridView
Asked by
Khoa
Top achievements
Rank 1
Answers by
Khoa
Top achievements
Rank 1
Share this question
or