Example #1
0
        /// <summary>
        /// Bind Image in List Box Control
        /// </summary>
        private void BindImages()
        {
            try
            {
                List <OSAEImage> images = imgMgr.GetImages();

                // Check List Object Count
                if (images.Count > 0)
                {
                    // Bind Data in List Box Control.
                    LsImageGallery.DataContext = images;
                }
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }