Infragistics / convertwire

A series of gulp tasks for converting documents to AsciiDoc
https://waffle.io/infragistics/convertwire
5 stars 2 forks source link

radialgauge-configuring-needles - AndroidEx code snippets are not build flagged properly - bug #236

Closed ghost closed 8 years ago

ghost commented 8 years ago

Build flags for Android-Ex and WinForms overlap, preventing either from being properly displayed within the topic.

image

ifdef::android-ex[]

In C#:

ifdef::win-forms[]

var radialGauge = new {RadialGaugeName}(); radialGauge.Value = 60; radialGauge. pick:[win-forms="Scale"] EndExtent = 0.5; radialGauge.NeedleShape = RadialGaugeNeedleShape.Rectangle; radialGauge.NeedlePivotShape = RadialGaugePivotShape.CircleWithHole;


endif::win-forms[]

endif::android-ex[]

ifdef::android-ex[]

In Visual Basic:

ifdef::win-forms[]

Dim radialGauge As {RadialGaugeName} = New {RadialGaugeName}

radialGauge.Value = 60

radialGauge. pick:[win-forms="Scale"] EndExtent = 0.5

radialGauge.NeedleShape = RadialGaugeNeedleShape.Rectangle

radialGauge.NeedlePivotShape = RadialGaugePivotShape.CircleWithHole


endif::win-forms[]

endif::android-ex[]

craigshoemaker commented 8 years ago

The topic is converted correctly, this will be fixed as Livewire is updated to better handle build flags