Produced by Araxis Merge on 2/1/2017 2:56:49 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\CS\ModernAndMobileApps\ModernSoapApp\Common | BooleanToVisibilityConverter.cs | Tue Dec 20 19:51:47 2016 UTC |
| 2 | Wed Feb 1 19:56:49 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 49 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | // ======= ========== ========== ========== ========== ========== ========== == | |||||
| 2 | // | |||||
| 3 | // This f ile is par t of the M icrosoft D ynamics CR M SDK Code Samples. | |||||
| 4 | // | |||||
| 5 | // Copyri ght (C) Mi crosoft Co rporation. All righ ts reserve d. | |||||
| 6 | // | |||||
| 7 | // This s ource code is intend ed only as a supplem ent to Mic rosoft | |||||
| 8 | // Develo pment Tool s and/or o nline docu mentation. See thes e other | |||||
| 9 | // materi als for de tailed inf ormation r egarding M icrosoft c ode sample s. | |||||
| 10 | // | |||||
| 11 | // THIS C ODE AND IN FORMATION ARE PROVID ED "AS IS" WITHOUT W ARRANTY OF ANY | |||||
| 12 | // KIND, EITHER EXP RESSED OR IMPLIED, I NCLUDING B UT NOT LIM ITED TO TH E | |||||
| 13 | // IMPLIE D WARRANTI ES OF MERC HANTABILIT Y AND/OR F ITNESS FOR A | |||||
| 14 | // PARTIC ULAR PURPO SE. | |||||
| 15 | // | |||||
| 16 | // ======= ========== ========== ========== ========== ========== ========== == | |||||
| 17 | ||||||
| 18 | using Syst em; | |||||
| 19 | using Syst em.Collect ions.Gener ic; | |||||
| 20 | using Syst em.Compone ntModel; | |||||
| 21 | using Syst em.Linq; | |||||
| 22 | using Syst em.Runtime .CompilerS ervices; | |||||
| 23 | using Wind ows.Founda tion; | |||||
| 24 | using Wind ows.Founda tion.Colle ctions; | |||||
| 25 | using Wind ows.Graphi cs.Display ; | |||||
| 26 | using Wind ows.UI.Vie wManagemen t; | |||||
| 27 | using Wind ows.UI.Xam l; | |||||
| 28 | using Wind ows.UI.Xam l.Controls ; | |||||
| 29 | using Wind ows.UI.Xam l.Data; | |||||
| 30 | ||||||
| 31 | namespace ModernSoap App.Common | |||||
| 32 | { | |||||
| 33 | /// <s ummary> | |||||
| 34 | /// Va lue conver ter that t ranslates true to <s ee cref="V isibility. Visible"/> and false to | |||||
| 35 | /// <s ee cref="V isibility. Collapsed" />. | |||||
| 36 | /// </ summary> | |||||
| 37 | public sealed cl ass Boolea nToVisibil ityConvert er : IValu eConverter | |||||
| 38 | { | |||||
| 39 | pu blic objec t Convert( object val ue, Type t argetType, object pa rameter, s tring lang uage) | |||||
| 40 | { | |||||
| 41 | return ( value is b ool && (bo ol)value) ? Visibili ty.Visible : Visibil ity.Collap sed; | |||||
| 42 | } | |||||
| 43 | ||||||
| 44 | pu blic objec t ConvertB ack(object value, Ty pe targetT ype, objec t paramete r, string language) | |||||
| 45 | { | |||||
| 46 | return v alue is Vi sibility & & (Visibil ity)value == Visibil ity.Visibl e; | |||||
| 47 | } | |||||
| 48 | } | |||||
| 49 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.